{"id":16149755,"url":"https://github.com/robotastic/pi-led","last_synced_at":"2025-03-18T18:33:27.922Z","repository":{"id":7223029,"uuid":"8530550","full_name":"robotastic/pi-led","owner":"robotastic","description":"Connect LED Message Boards to your Raspberry PI using the SPI bus","archived":false,"fork":false,"pushed_at":"2022-12-09T23:18:39.000Z","size":81,"stargazers_count":13,"open_issues_count":4,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-10T12:56:49.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/robotastic.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}},"created_at":"2013-03-03T02:20:04.000Z","updated_at":"2023-02-02T20:47:21.000Z","dependencies_parsed_at":"2023-01-13T14:18:52.610Z","dependency_job_id":null,"html_url":"https://github.com/robotastic/pi-led","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robotastic%2Fpi-led","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robotastic%2Fpi-led/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robotastic%2Fpi-led/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robotastic%2Fpi-led/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robotastic","download_url":"https://codeload.github.com/robotastic/pi-led/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244281680,"owners_count":20427877,"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":[],"created_at":"2024-10-10T00:44:58.447Z","updated_at":"2025-03-18T18:33:27.696Z","avatar_url":"https://github.com/robotastic.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pi-Led\n\nThis is a Node.js module that lets you write messages on HT1632 LED Message Boards from your Raspberry Pi, using its built in SPI Bus. \n\nIt was designed to work with the Raspberry Pi, but it should be easily ported to other platforms that provide an SPI Bus. I use 2 GPIOs to increase the number of Chip Select lines. The whole hardware setup is described here.\n\n## How to Install\n\n```bash\nnpm install pi-led\n```\n\n## How to Use\n\nFirst, require `pi-led`:\n\n```js\nvar Led = require('pi-led').PiLed;\n```\n\nThen create an instance of it:\n\n```js\nvar led = new Led();\n```\n\nNow you can write messages:\n\n```js\nled.WriteMessage(\"Hello World!\", function(err, result) {\n\t// This Callback happens when a message has finished scrolling\n});\n```\n\nAn event also gets emitted after a message has finished scrolling:\n\n```js\nled.on('FinishedWrite', function(s) {\n\t// Queue up another message to print here\n});\n```\n\n## How to setup the hardware\n\nI put together a long post on how I wired the boards together here. By default, the module is configured for 4 LED Modules, each with 32 LEDs across and 8 LEDs high.\n\nTo change this, go muck around in pi-led.cpp and then rebuild the module by going into the module directory and typing:\n\n```\nnpm build .\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobotastic%2Fpi-led","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobotastic%2Fpi-led","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobotastic%2Fpi-led/lists"}