{"id":18883322,"url":"https://github.com/xjpin/raspberrypi-tm1637-4display","last_synced_at":"2025-04-14T20:30:54.193Z","repository":{"id":201757144,"uuid":"78909923","full_name":"xjpin/raspberrypi-tm1637-4display","owner":"xjpin","description":"TM1637 driver for raspberry pi in nodejs with wiring-pi","archived":false,"fork":false,"pushed_at":"2018-02-10T06:19:06.000Z","size":2732,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-25T00:33:38.666Z","etag":null,"topics":["4-digit-display","nodejs","raspberry-pi","tm1637"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/xjpin.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}},"created_at":"2017-01-14T03:44:37.000Z","updated_at":"2023-04-17T20:43:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"a60740d4-e358-4c70-9703-06172ea3d473","html_url":"https://github.com/xjpin/raspberrypi-tm1637-4display","commit_stats":null,"previous_names":["thesadabc/raspberrypi-tm1637-4display","xjpin/raspberrypi-tm1637-4display"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjpin%2Fraspberrypi-tm1637-4display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjpin%2Fraspberrypi-tm1637-4display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjpin%2Fraspberrypi-tm1637-4display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjpin%2Fraspberrypi-tm1637-4display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xjpin","download_url":"https://codeload.github.com/xjpin/raspberrypi-tm1637-4display/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248955385,"owners_count":21189080,"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":["4-digit-display","nodejs","raspberry-pi","tm1637"],"created_at":"2024-11-08T07:01:40.359Z","updated_at":"2025-04-14T20:30:54.179Z","avatar_url":"https://github.com/xjpin.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# raspberrypi tm1637 4-digit display\n\nTM1637 4-digit display demo\n\nraspberry pi 3b+\n\nNode.js 8+\n\n![image](assert/link2.JPG)\n\n\n## 说明\n\n本demo使用的模式为 `0b01000000`, 即 普通的自动地址增加的写数据到显示寄存器, 具体参照[芯片规格书-TM1637](assert/tm1637_doc)\n\n1. 时钟上升沿读取数据\n2. 时钟高电位时, 数据口下降沿表示数据传输开始, 上升沿表示数据传输结束\n3. 除开始结束命令外, 其余数据传输均为9个上升沿, 前8个表示8个传输的字节, 8号下降沿后数据接口会产生一个`ack`反馈, 低电平表示传输成功\n\n## 流程\n\n1. 开始 -\u003e 设置传输模式 -\u003e 结束\n2. 开始 -\u003e 设置数字起始显示地址 -\u003e 设置一个数字 -\u003e 设置一个数字 -\u003e ... -\u003e 结束\n3. 开始 -\u003e 设置显示控制 -\u003e 结束\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjpin%2Fraspberrypi-tm1637-4display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjpin%2Fraspberrypi-tm1637-4display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjpin%2Fraspberrypi-tm1637-4display/lists"}