{"id":13782813,"url":"https://github.com/AlexMoroz/esp32-lua-interpreter","last_synced_at":"2025-05-11T16:33:03.458Z","repository":{"id":97082075,"uuid":"125295952","full_name":"AlexMoroz/esp32-lua-interpreter","owner":"AlexMoroz","description":"Esp32 Lua project","archived":false,"fork":false,"pushed_at":"2018-04-25T14:07:43.000Z","size":262,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-03T18:16:52.857Z","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/AlexMoroz.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}},"created_at":"2018-03-15T01:33:12.000Z","updated_at":"2023-03-15T12:06:38.000Z","dependencies_parsed_at":"2024-01-07T23:07:46.214Z","dependency_job_id":"54af3746-7ef8-4444-a0ea-80b2f7352ec0","html_url":"https://github.com/AlexMoroz/esp32-lua-interpreter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexMoroz%2Fesp32-lua-interpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexMoroz%2Fesp32-lua-interpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexMoroz%2Fesp32-lua-interpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexMoroz%2Fesp32-lua-interpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexMoroz","download_url":"https://codeload.github.com/AlexMoroz/esp32-lua-interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253595952,"owners_count":21933476,"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-08-03T18:01:45.201Z","updated_at":"2025-05-11T16:33:03.179Z","avatar_url":"https://github.com/AlexMoroz.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"ESP32 project with lua interpreter and bindings for sensor libraries \n=========\n\nThis project has libraries for SunFounder sensors; this libraries have lua bindings and could be used from lua.\n\nList of libs\n------\n   * i2c\n      - .init() - initialize i2c\n   * bmp180\n      - .get() - return values; ex. temperature, pressure = bmp180.get()\n   * buzzer \n      - .play() - play sound in passive buzzer\n   * rgb\n      - .set(int,int,int) - saves values and turns on rgb\n      - .on() - turns on rgb with saved values\n      - .off() - turns off the rgb\t\n   * lcd\n      - .init() - initialize lcd\n      - .set(int,int) - pointer coordinates\n      - .write(string) - string to print\n   * gas\n      - .get() - return digital state value, and analog ppm value; ex.  state, value = gas.get()\n   * eddystone\n      - .init() - initialize bluetooth beacon settings\n      - .start(callback) - start scanning, return found devices in callback funcion as a table\n      - .share() - start advertising of a new URL eddytone beacon \n      - .stop() - stop scanning \n      \n      \ntable for eddystone devices contains:\n   - type\n      \nUsage example\n---------\n```bash\nlua\u003e i2c = require \"i2c\"\nlua\u003e lcd = require \"lcd\"\nlua\u003e i2c.init()\nlua\u003e lcd.init()\nlua\u003e lcd.set(0,0)\nlua\u003e lcd.write(\"hello world\")\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexMoroz%2Fesp32-lua-interpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlexMoroz%2Fesp32-lua-interpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexMoroz%2Fesp32-lua-interpreter/lists"}