{"id":18537704,"url":"https://github.com/winking324/led_timer","last_synced_at":"2025-06-23T05:35:28.133Z","repository":{"id":90086568,"uuid":"64893548","full_name":"winking324/led_timer","owner":"winking324","description":"4bit Led Digital Tube Timer","archived":false,"fork":false,"pushed_at":"2017-08-31T13:48:05.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T01:40:02.666Z","etag":null,"topics":["4bit","595","edison","intel","led","timer"],"latest_commit_sha":null,"homepage":"","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/winking324.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,"publiccode":null,"codemeta":null}},"created_at":"2016-08-04T02:02:03.000Z","updated_at":"2022-01-25T09:59:54.000Z","dependencies_parsed_at":"2023-03-08T17:45:31.177Z","dependency_job_id":null,"html_url":"https://github.com/winking324/led_timer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/winking324/led_timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winking324%2Fled_timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winking324%2Fled_timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winking324%2Fled_timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winking324%2Fled_timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winking324","download_url":"https://codeload.github.com/winking324/led_timer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winking324%2Fled_timer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261422599,"owners_count":23156035,"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":["4bit","595","edison","intel","led","timer"],"created_at":"2024-11-06T19:39:41.441Z","updated_at":"2025-06-23T05:35:23.110Z","avatar_url":"https://github.com/winking324.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LED计时器\n\n## 4位LED数码管模块\n\n4位LED数码管模块基本说明：\n\n1. 采用2片595驱动数码管，需要单片机3路IO口，根据数码管动态扫描原理进行显示；\n2. 宽工作电压3.3V到5V；\n3. PCB板尺寸：71mm*22mm\n4. 数码管型号：0.36 4位共阳\n\n## Edison接线说明\n\n使用模块包含：\n\n1. Intel Edison底板 + Edison模块，安装ubilinux系统；\n2. Arduino扩展板；\n3. 4位LED数码管模块；\n\n接线说明：\n\n// TODO\n\n## LED计时器原理\n\n每位LED编码如下：\n\n``` cpp\n//      0\n//      --\n//   5 |  | 1\n//      --  6\n//   4 |  | 2\n//      --  .\n//      3   7\n\n// With out point(7), only digit\nstatic const uint8_t LED[] =\n{\n    // 0     1     2     3     4\n    0xC0, 0xF9, 0xA4, 0xB0, 0x99,\n    // 5     6     7     8     9\n    0x92, 0x82, 0xF8, 0x80, 0x90,\n};\n\n// With point(7)\nstatic const uint8_t LED_WITH_POINT[] =\n{\n    // 0     1     2     3     4\n    0x40, 0x79, 0x24, 0x30, 0x19,\n    // 5     6     7     8     9\n    0x12, 0x02, 0x78, 0x00, 0x10,\n};\n```\n\n所以在时间更新时，按照顺序，依次刷入对应的要显示的值即可。\n\n## TODO\n\n增加控制模块，用遥控器控制计时重置、计时暂停等。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinking324%2Fled_timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinking324%2Fled_timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinking324%2Fled_timer/lists"}