{"id":21326957,"url":"https://github.com/tkomde/beetlec-html-mod","last_synced_at":"2025-10-07T10:29:48.224Z","repository":{"id":179766544,"uuid":"214575879","full_name":"tkomde/beetleC-HTML-Mod","owner":"tkomde","description":"Joystick UI for beetleC","archived":false,"fork":false,"pushed_at":"2019-10-12T04:17:26.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T12:45:32.963Z","etag":null,"topics":["beetlec","m5stickc"],"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/tkomde.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}},"created_at":"2019-10-12T04:12:32.000Z","updated_at":"2019-10-16T11:33:20.000Z","dependencies_parsed_at":"2024-03-21T07:44:48.401Z","dependency_job_id":null,"html_url":"https://github.com/tkomde/beetleC-HTML-Mod","commit_stats":null,"previous_names":["jins-tkomoda/beetlec-html-mod","tkomde/beetlec-html-mod"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkomde%2FbeetleC-HTML-Mod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkomde%2FbeetleC-HTML-Mod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkomde%2FbeetleC-HTML-Mod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkomde%2FbeetleC-HTML-Mod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkomde","download_url":"https://codeload.github.com/tkomde/beetleC-HTML-Mod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806072,"owners_count":20350775,"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":["beetlec","m5stickc"],"created_at":"2024-11-21T21:12:36.276Z","updated_at":"2025-10-07T10:29:43.194Z","avatar_url":"https://github.com/tkomde.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# beetleC HTML Mod\r\n\r\nMod from [official sample](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Hat/beetleC/stickC/beetleC)\r\n\r\n![UI](./UI.png)\r\n\r\n- Joystick UI\r\n- Weighted average calculation for smooth driving\r\n\r\n# Deployment procedure\r\n\r\n## Endocing html to page.h \r\n\r\n\u003e gzip -c page.html | xxd -i \u003e page.hex\r\n\r\nCopy array to page.h. \r\n\r\n## Calcurate buffer size automatically.\r\n\r\nEdit beetleC.ino.\r\n\r\n```\r\nesp_err_t controlPage(httpd_req_t *req) {\r\n    httpd_resp_set_type(req, \"text/html\");\r\n    httpd_resp_set_hdr(req, \"Content-Encoding\", \"gzip\");\r\n    return httpd_resp_send(req, (const char *)ctlPage, sizeof ctlPage); // \u003c-Edit!\r\n}\r\n```\r\n\r\n## Compile and transfer firmware\r\n\r\n# Acknowledgement\r\n\r\nFollowing JoyStick library is embedded in the html with some modification.\r\nhttps://github.com/bobboteck/JoyStick\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkomde%2Fbeetlec-html-mod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkomde%2Fbeetlec-html-mod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkomde%2Fbeetlec-html-mod/lists"}