{"id":15417244,"url":"https://github.com/alexandrehiroyuki/esp32_practice_sketches","last_synced_at":"2026-05-06T07:33:26.597Z","repository":{"id":43424772,"uuid":"508814113","full_name":"AlexandreHiroyuki/ESP32_Practice_Sketches","owner":"AlexandreHiroyuki","description":"Practice with ESP32 and PlatformIO. Task management, HTTP requests and Unit Tests.","archived":false,"fork":false,"pushed_at":"2024-04-09T10:15:24.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T04:44:44.305Z","etag":null,"topics":["esp32"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexandreHiroyuki.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-29T19:03:21.000Z","updated_at":"2022-08-23T14:04:55.000Z","dependencies_parsed_at":"2024-10-19T23:23:36.476Z","dependency_job_id":"9a4b5d75-5bc3-45e5-9886-cfd13a7936a2","html_url":"https://github.com/AlexandreHiroyuki/ESP32_Practice_Sketches","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"853bdc8852153a288ec138a848f1d3bec382fbdf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreHiroyuki%2FESP32_Practice_Sketches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreHiroyuki%2FESP32_Practice_Sketches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreHiroyuki%2FESP32_Practice_Sketches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreHiroyuki%2FESP32_Practice_Sketches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexandreHiroyuki","download_url":"https://codeload.github.com/AlexandreHiroyuki/ESP32_Practice_Sketches/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245966926,"owners_count":20701759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32"],"created_at":"2024-10-01T17:14:58.255Z","updated_at":"2026-05-06T07:33:26.568Z","avatar_url":"https://github.com/AlexandreHiroyuki.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32 Practice Sketches\n\n## Introduction\n\nThis is my first attempt at a sketch for the ESP32. I tried to explore the many features of the ESP32 and the PlatformIO ecosystem.\n\n## Main Features\n\nUsing the ESP FreeRTOS, I created two tasks that switches the built-in LED and an external LED on and off.\n\nBoth tasks are running the same function at the same priority. The way it differs is which argument is passed to the function. The first task is passed the built-in LED pin and delay, the second task is passed the external LED pin and delay.\n\nAlso, on the main loop, the ESP32 makes HTTP requests to the server and prints the response.\n\n## Environment Header\n\nInspired by the .env module used on node.js, I created a header file that contains the variables that are used in the sketch.\n\nYou can easily add new variables to the header file, just copy the `env-model.h` and rename it to `env.h`.\n\nThe variables `SSID` and `PASSWORD` are used to connect to the WiFi network.\n\n## Practice Server\n\nThe `/server` folder contains the server that is used to make HTTP requests to the ESP32.\n\n```\ncd server\nyarn\nyarn start\n```\n\n## Unit Tests\n\nThe `/tests` folder contains the unit tests for the sketch.\n\n[Unit Test Espressif Documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/unit-tests.html)\n\n[Unit Test PlatformIO Documentation](https://docs.platformio.org/en/latest/advanced/unit-testing/index.html)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrehiroyuki%2Fesp32_practice_sketches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandrehiroyuki%2Fesp32_practice_sketches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrehiroyuki%2Fesp32_practice_sketches/lists"}