{"id":13613330,"url":"https://github.com/oysols/tlc5940-micropython","last_synced_at":"2025-04-13T15:33:01.508Z","repository":{"id":212848858,"uuid":"82117689","full_name":"oysols/tlc5940-micropython","owner":"oysols","description":"TLC5940 Micropython Library","archived":false,"fork":false,"pushed_at":"2017-02-15T23:46:24.000Z","size":90,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-22T12:34:19.453Z","etag":null,"topics":["micropython"],"latest_commit_sha":null,"homepage":"","language":"Python","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/oysols.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}},"created_at":"2017-02-15T23:32:52.000Z","updated_at":"2023-06-02T13:16:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4b755de-9de0-46fd-8f2b-b79d3bd5f585","html_url":"https://github.com/oysols/tlc5940-micropython","commit_stats":null,"previous_names":["oysols/tlc5940-micropython"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oysols%2Ftlc5940-micropython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oysols%2Ftlc5940-micropython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oysols%2Ftlc5940-micropython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oysols%2Ftlc5940-micropython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oysols","download_url":"https://codeload.github.com/oysols/tlc5940-micropython/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248736101,"owners_count":21153534,"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":["micropython"],"created_at":"2024-08-01T20:00:44.464Z","updated_at":"2025-04-13T15:33:01.237Z","avatar_url":"https://github.com/oysols.png","language":"Python","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Display","显示类"],"readme":"# TLC5940 Micropython Library\n\n![tlc5940](img/chip.jpg)\n\nMinimal implementation of grey scale data transmission with multiple tlc5940 in series.\n\n```python\nimport tlc5940\ntlc = tlc5940.interface('GP23', 'GP1', 'GP7', 'GP2', 'GP14', 'GP16')\ndata = tlc5940.simple_byte_array(\"1010000000000000\")\ntlc.set_data(data) # enable output0 and output2\n```\n\nIncludes example code for driving multiple 7-segments displays.\n\n![7-segment](img/7segment.jpg)\n\nOnly tested with the WiPy microcontroller.\n\nSources:\n\n[TI Programming Flow Chart](http://www.ti.com/lit/sw/slvc106/slvc106.pdf)\n\n[TI TLC5940 Data Sheet](http://www.ti.com/lit/ds/symlink/tlc5940.pdf)\n\nMatthew T. Pandina's [\"Demystifying the TLC5940\"](https://sites.google.com/site/artcfox/demystifying-the-tlc5940) written for the AVR-GCC compiler.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foysols%2Ftlc5940-micropython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foysols%2Ftlc5940-micropython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foysols%2Ftlc5940-micropython/lists"}