{"id":16623692,"url":"https://github.com/jandelgado/jled-esp-idf-example","last_synced_at":"2026-05-23T03:35:34.079Z","repository":{"id":87337987,"uuid":"459493037","full_name":"jandelgado/jled-esp-idf-example","owner":"jandelgado","description":"JLed example project using ESP32 ESP-IDF SDK","archived":false,"fork":false,"pushed_at":"2022-02-15T08:45:24.000Z","size":502,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T10:50:26.052Z","etag":null,"topics":["embedded","esp-idf","esp32","jled"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jandelgado.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-15T08:33:37.000Z","updated_at":"2022-11-25T16:54:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c2b7e17-52e8-4cce-924c-ab0c61e91405","html_url":"https://github.com/jandelgado/jled-esp-idf-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jandelgado/jled-esp-idf-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fjled-esp-idf-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fjled-esp-idf-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fjled-esp-idf-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fjled-esp-idf-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jandelgado","download_url":"https://codeload.github.com/jandelgado/jled-esp-idf-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fjled-esp-idf-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33381989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T01:21:08.577Z","status":"online","status_checked_at":"2026-05-23T02:00:05.530Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["embedded","esp-idf","esp32","jled"],"created_at":"2024-10-12T03:24:38.932Z","updated_at":"2026-05-23T03:35:29.068Z","avatar_url":"https://github.com/jandelgado.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JLed ESP-IDF example (ESP32)\n\n[![test compile](https://github.com/jandelgado/jled-esp-idf-example/actions/workflows/test.yml/badge.svg)](https://github.com/jandelgado/jled-esp-idf-example/actions/workflows/test.yml)\n\nThis example shows how to use the embedded [JLed](https://github.com/jandelgado/jled) library \nwith the ESP-IDF framework.\n\n![JLed in action](.images/jled.gif)\n\n```c++\n#include \u003cjled.h\u003e\n\nextern \"C\" void app_main(void);\n\nvoid app_main(void)\n{\n    auto led = JLed(LED_PIN).Breathe(1500).Forever();\n\n    while(1) {\n        led.Update();\n    }\n}\n```\n\n## Project Structure\n\n* [main/](main/)  - example sketch with the program entry point\n* [components/](components) - Library dependencies - contains `JLed` as git submodule\n* `build/` - build artefacts\n\n## Build\n\n* Prerequisite: install and activate ESP-IDF SDK from\n  https://github.com/espressif/esp-idf \n* make sure to check out this repo with submodules by using e.g.\n  `git clone --recursive https://github.com/jandelgado/jled-esp-idf-example`\n* Inspect the [CMakeLists.txt](CMakeLists.txt) file and adjust the `LED_PIN`\n  `#define` to your needs (GPIO where a LED is connected, e.g. `2` for the\n  builtin LED of the ESP-WROOM-32 board).\n\nThe following commands are used to configure, build and flash the image:\n* run `idf.py build` to compile the example\n* run `idf.py flash` to flash the example on an ESP32\n* optionally run `idf.py menuconfig` to configure the image (see\n  (sdkconfig)[sdkconfig])\n* run `idf.py clean` to clean up intermediary files\n\n## Author and License\n\n(C) Copyright 2022 by Jan Delgado, License: MIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandelgado%2Fjled-esp-idf-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjandelgado%2Fjled-esp-idf-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandelgado%2Fjled-esp-idf-example/lists"}