{"id":21441204,"url":"https://github.com/realsba/esp32pp","last_synced_at":"2026-05-16T23:15:43.667Z","repository":{"id":50646788,"uuid":"519491825","full_name":"realsba/esp32pp","owner":"realsba","description":"ESP32++ (esp32pp) is a collection of C++ classes for the ESP32, providing reusable components for buttons, I2C, HTTP servers, and more, aimed at simplifying development.","archived":false,"fork":false,"pushed_at":"2025-11-14T10:09:23.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-14T12:16:55.316Z","etag":null,"topics":["cpp","cpp20","dht11","dht22","esp-idf","esp32","i2c-bus","i2c-device","ina219","ina226","ledc","rf43","wifi"],"latest_commit_sha":null,"homepage":"","language":"C++","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/realsba.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-30T10:57:20.000Z","updated_at":"2025-11-14T10:09:27.000Z","dependencies_parsed_at":"2025-04-11T17:26:01.715Z","dependency_job_id":"c979f86b-8251-49ce-b6a8-3f9680bc3e78","html_url":"https://github.com/realsba/esp32pp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/realsba/esp32pp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realsba%2Fesp32pp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realsba%2Fesp32pp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realsba%2Fesp32pp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realsba%2Fesp32pp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realsba","download_url":"https://codeload.github.com/realsba/esp32pp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realsba%2Fesp32pp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33121893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cpp","cpp20","dht11","dht22","esp-idf","esp32","i2c-bus","i2c-device","ina219","ina226","ledc","rf43","wifi"],"created_at":"2024-11-23T01:21:55.360Z","updated_at":"2026-05-16T23:15:43.661Z","avatar_url":"https://github.com/realsba.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32++ (esp32pp)\n\nESP32++ (esp32pp) is a personal collection of C++ classes designed for use with ESP32 microcontrollers. This library is intended to simplify and enhance the development process on the ESP32 platform by providing a powerful set of reusable components.\n\n## Table of Contents\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Project Structure](#project-structure)\n- [Dependencies](#dependencies)\n- [License](#license)\n\n## Features\n\n- **Button**: Class for handling button input.\n- **CriticalSection**: Safe handling of critical sections.\n- **DHT**: Interface for DHT sensors.\n- **HttpServer**: Basic HTTP server functionality.\n- **I2C**: Simplified I2C communication.\n- **Ina226**: Driver for INA226 power monitor.\n- **LedStrip**: Control for LED strips.\n- **RF433**: Interface for RF433 modules.\n- **Task**: Task management utilities.\n- **WiFiManager**: Easy Wi-Fi connection management.\n\n## Installation\n\nClone the repository:\n\n```bash\ngit clone https://github.com/realsba/esp32pp.git\n```\n\n## Usage\n\nYou can use the provided examples to get started with each component. \n\nFor instance, to use the Button class, include it in your project:\n\n### Modify CMakeLists.txt\nEdit the CMakeLists.txt file in your main/ directory to include the Button component:\n```cmake\nidf_component_register(\n    SRCS main.cpp\n    REQUIRES Button\n    INCLUDE_DIRS .\n)\n```\n\n### Include the Header\n\nIn your main.cpp or main.hpp, include the Button class:\n```c++\n#include \"Button/Button.hpp\"\n```\n\n### Instantiate and Use the Class\nNow you can instantiate and use the Button class in your application:\n```c++\nButton myButton(GPIO_NUM_0); // Example using GPIO 0\nmyButton.setPressedHandler([](){\n    // Action on button press\n});\n```\n\n### Build and Flash\n```bash\nidf.py build\nidf.py flash\n```\n\n## Dependencies\n\n- ESP-IDF: The official development framework for ESP32.\n- CMake: Build system generator.\n\n## Contributing\nContributions are welcome! Feel free to open an issue or submit a pull request.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/realsba/esp32pp/blob/main/LICENSE) file for details.\n\n## Author\n- Bohdan Sadovyak\n\n## Bugs/Issues\nPlease report any bugs or issues [here](https://github.com/realsba/esp32pp/issues).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealsba%2Fesp32pp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealsba%2Fesp32pp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealsba%2Fesp32pp/lists"}