{"id":24960343,"url":"https://github.com/stutchbury/encoderadapter","last_synced_at":"2026-04-18T01:05:20.813Z","repository":{"id":274854243,"uuid":"924044392","full_name":"Stutchbury/EncoderAdapter","owner":"Stutchbury","description":"EncoderAdapter is a library providing a unified encoder API.","archived":false,"fork":false,"pushed_at":"2025-02-07T17:06:13.000Z","size":191,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T21:28:03.262Z","etag":null,"topics":["arduino","encoder","esp32","inputevents","teensy"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stutchbury.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":"2025-01-29T10:12:53.000Z","updated_at":"2025-02-14T19:27:08.000Z","dependencies_parsed_at":"2025-01-29T19:40:59.561Z","dependency_job_id":null,"html_url":"https://github.com/Stutchbury/EncoderAdapter","commit_stats":null,"previous_names":["stutchbury/encoderadapter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Stutchbury/EncoderAdapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stutchbury%2FEncoderAdapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stutchbury%2FEncoderAdapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stutchbury%2FEncoderAdapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stutchbury%2FEncoderAdapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stutchbury","download_url":"https://codeload.github.com/Stutchbury/EncoderAdapter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stutchbury%2FEncoderAdapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31952208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"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":["arduino","encoder","esp32","inputevents","teensy"],"created_at":"2025-02-03T08:07:51.981Z","updated_at":"2026-04-18T01:05:20.791Z","avatar_url":"https://github.com/Stutchbury.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EncoderAdapter\n\nEncoderAdapter is a library providing a unified encoder API. Included is an implementation for PJRC's Encoder library.\n\nIts primary use is for the [InputEvents](https://github.com/Stutchbury/InputEvents) library's EventEncoder and EventEncoderButton classes but can also be used as a general purpose encoder adapter when writing code for different boards.\n\nThe library provides a consistent encoder API, specifying three methods that must be implemeted by concrete classes:\n\n- \u003ccode\u003ebool EncoderAdapter::begin(void)\u003c/code\u003e\n- \u003ccode\u003eint32_t EncoderAdapter::getPosition(void)\u003c/code\u003e\n- \u003ccode\u003evoid EncoderAdapter::setPosition(int32_t)\u003c/code\u003e \n\nConcrete implementations will likely have more methods and should implement all those required to configure the underlying library. All adapters are 'header only' to allow the Arduino IDE to compile when the underlying encoder libraries are not installed.\n\nAn adapter for PJRC's popular quadrature [Encoder](https://reference.arduino.cc/reference/en/libraries/encoder/) library is provided as the  \u003ccode\u003ePjrcEncoderAdapter\u003c/code\u003e class.\n\n\u003e Note: Although this library lists no dependencies, it is dependent on whichever underlying encoder library is chosen.\n\n\nPlease see [full Doxygen generated API documentation](https://stutchbury.github.io/EncoderAdapter/api/index.html) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstutchbury%2Fencoderadapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstutchbury%2Fencoderadapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstutchbury%2Fencoderadapter/lists"}