{"id":16188636,"url":"https://github.com/konsumer/4encoder","last_synced_at":"2026-01-20T21:33:47.334Z","repository":{"id":232144354,"uuid":"783572623","full_name":"konsumer/4encoder","owner":"konsumer","description":"C \u0026 puredata extension for working with a specific 4-encoder i2c device","archived":false,"fork":false,"pushed_at":"2024-04-09T22:06:53.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T13:40:48.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/konsumer.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":"2024-04-08T06:48:37.000Z","updated_at":"2025-02-24T02:03:01.000Z","dependencies_parsed_at":"2024-10-19T17:50:51.936Z","dependency_job_id":null,"html_url":"https://github.com/konsumer/4encoder","commit_stats":null,"previous_names":["konsumer/4encoder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/konsumer/4encoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2F4encoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2F4encoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2F4encoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2F4encoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konsumer","download_url":"https://codeload.github.com/konsumer/4encoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2F4encoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28614618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-10T07:28:48.527Z","updated_at":"2026-01-20T21:33:47.318Z","avatar_url":"https://github.com/konsumer.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 4encoder\n\n\u003e [!WARNING]  \n\u003e I am still working on this. these devices are quite a bit more complicated to interface in C than [these](https://github.com/konsumer/8encoder/), so it will probly take some time. I ended up consolidating these into a single repo at [pipd](https://github.com/konsumer/pipd).\n\nVarious libs for working with [an i2c 4 rotary-encoder thing](https://www.adafruit.com/product/5752) on a pi.\n\n- [linux-4encoder](linux-4encoder) - C lib. Just uses regular linux stuff.\n- [puredata-pi4encoder](puredata-pi4encoder) - Puredata extension that use linux-4encoder\n- Simple python example [here](https://github.com/konsumer/4encoder/blob/main/demo.py) that uses blinka/circuitpython\n\nThere is [reference here](https://learn.adafruit.com/adafruit-seesaw-atsamd09-breakout/reading-and-writing-data) for i2c format.\n\nMake sure to add this to your `/boot/firmware/config.txt`:\n\n```\n# dtparam=i2c_arm=on,i2c_arm_baudrate=50000\n# dtparam=i2c_arm=on,i2c_arm_baudrate=100000\n# dtparam=i2c_arm=on,i2c_arm_baudrate=400000\ndtparam=i2c_arm=on,i2c_arm_baudrate=1000000\n```\n\n## TODO\n\n- Have a look [here](https://github.com/giuliomoro/OSC2OLED4Bela) for a pretty complete i2c OLED driver. This idea should work for all 3 (OLED, 4encoder, 8encoder)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2F4encoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonsumer%2F4encoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2F4encoder/lists"}