{"id":23069687,"url":"https://github.com/roboticsbrno/esp32-lx16a","last_synced_at":"2025-10-05T09:53:16.062Z","repository":{"id":168725320,"uuid":"627298325","full_name":"RoboticsBrno/Esp32-lx16a","owner":"RoboticsBrno","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-01T20:29:46.000Z","size":77,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-03T09:46:28.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/RoboticsBrno.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":"2023-04-13T07:18:25.000Z","updated_at":"2024-01-26T19:58:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f77a27b-6a0a-4c2f-9c5d-c42303527f1b","html_url":"https://github.com/RoboticsBrno/Esp32-lx16a","commit_stats":null,"previous_names":["roboticsbrno/esp32-lx16a"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/RoboticsBrno/Esp32-lx16a","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboticsBrno%2FEsp32-lx16a","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboticsBrno%2FEsp32-lx16a/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboticsBrno%2FEsp32-lx16a/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboticsBrno%2FEsp32-lx16a/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoboticsBrno","download_url":"https://codeload.github.com/RoboticsBrno/Esp32-lx16a/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboticsBrno%2FEsp32-lx16a/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264506929,"owners_count":23619102,"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":[],"created_at":"2024-12-16T06:16:39.393Z","updated_at":"2025-10-05T09:53:11.027Z","avatar_url":"https://github.com/RoboticsBrno.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Esp32-lx16a\n\nLibrary for controlling lx16a and similar servos that actually works on ESP32.\n\n## Example\n\nAdd current version to your platformio.ini:\n\n```ini\n...\nlib_deps = https://github.com/RoboticsBrno/Esp32-lx16a/archive/refs/tags/v1.2.1.zip # or newer version...\n...\n```\n\n```cpp\n#include \u003cArduino.h\u003e\n#include \"SmartServoBus.hpp\"\n\nusing namespace lx16a;\n\nstatic SmartServoBus servoBus;\n\nvoid setup() {\n    // Servos on the bus must have sequential IDs, starting from 0 (not 1)!\n    // The '1' below is count of servos on the bus, not servo ID.\n    servoBus.begin(1, UART_NUM_2, GPIO_NUM_14);\n\n    /*\n    // Set servo Id (must be only one servo connected to the bus)\n    servoBus.setId(0);\n    while (true) {\n        printf(\"GetId: %d\\n\", servoBus.getId());\n        delay(1000);\n    }\n    */\n\n    printf(\"Current pos: %f\\n\", servoBus.pos(0).deg());\n    servoBus.set(0, 180_deg);\n}\n\nvoid loop() {\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froboticsbrno%2Fesp32-lx16a","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froboticsbrno%2Fesp32-lx16a","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froboticsbrno%2Fesp32-lx16a/lists"}