Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LED integration? #4

Open
AssetBurned opened this issue Oct 27, 2017 · 1 comment
Open

LED integration? #4

AssetBurned opened this issue Oct 27, 2017 · 1 comment

Comments

@AssetBurned
Copy link

AssetBurned commented Oct 27, 2017

Hi,
How about a proper documentation about the LED integration?
Thanks :-)

@dglaude
Copy link

dglaude commented Dec 30, 2017

I made a quick analyse and here is what I found (I might be wrong, I am not the author):

LED is implemented by a function LED that write to /tmp/lastled
https://github.com/tholum/PiBunny/blob/503ba8407f851c1b2f1edec7357a1c604921b2b7/bin/LED

And inside pibunny.js the content of /tmp/lastled is readed when change is detected.
Finally, it exec ("neouart " + HEXCODE) to set the LED color.

neouart is coming from here:
https://github.com/bigjosh/NeoUart

It drive a single WS2812B NeoPixel NeoUart and here is the wiring schematics:
https://github.com/bigjosh/NeoUart/blob/master/neopixel%20rasppi%20connections.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants