{"id":16048299,"url":"https://github.com/tafia/pcf8591-rs","last_synced_at":"2026-05-16T18:37:52.134Z","repository":{"id":57653811,"uuid":"75164593","full_name":"tafia/pcf8591-rs","owner":"tafia","description":"An API to connect to PCF8591 A/D and D/A converter","archived":false,"fork":false,"pushed_at":"2016-12-02T02:52:29.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T15:27:50.146Z","etag":null,"topics":["converter","pcf8591","raspberry-pi","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/tafia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-30T07:56:58.000Z","updated_at":"2017-08-24T01:40:22.000Z","dependencies_parsed_at":"2022-08-26T06:41:21.057Z","dependency_job_id":null,"html_url":"https://github.com/tafia/pcf8591-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tafia/pcf8591-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tafia%2Fpcf8591-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tafia%2Fpcf8591-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tafia%2Fpcf8591-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tafia%2Fpcf8591-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tafia","download_url":"https://codeload.github.com/tafia/pcf8591-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tafia%2Fpcf8591-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266665781,"owners_count":23964972,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["converter","pcf8591","raspberry-pi","rust"],"created_at":"2024-10-09T00:06:08.517Z","updated_at":"2026-05-16T18:37:47.103Z","avatar_url":"https://github.com/tafia.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pcf8591-rs\n\nAn API to connect to PCF8591 A/D converter.\n\n[Documentation](https://docs.rs/pcf8591-rs)\n\n## Example\n\n```rust\nuse pcf8591::{PCF8591, Pin};\nuse std::thread;\nuse std::time::Duration;\n\n// Gets default location on raspberry pi (rev 2)\nlet mut converter = PCF8591::new(\"/dev/i2c-1\", 0x48, 3.3).unwrap();\n\nloop {\n    let v = converter.analog_read(Pin::AIN0).unwrap();\n    println!(\"Input voltage at pin 0: {}\", v);\n\n    thread::sleep(Duration::from_millis(1000));\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftafia%2Fpcf8591-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftafia%2Fpcf8591-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftafia%2Fpcf8591-rs/lists"}