ajfisher / node-pixel

Library for using addressable LEDs (such as NeoPixels/WS2812) with Firmata and JohnnyFive
MIT License
275 stars 71 forks source link

Example for python / Raspberry #334

Closed Kobo3 closed 1 year ago

Kobo3 commented 1 year ago

Hello,

I have my WS2812 LED stripe connected to an Arduino and I control the Arduino from an RPI via Firmata.

Can you help me with an example, of how to use your firmata from python?

ajfisher commented 1 year ago

I don't have an example but this is the protocol doc. If you create some specific python commands to provide these calls then the firmata will work with Python quite happily.

https://github.com/ajfisher/node-pixel/blob/master/firmware/src/libs/protocol.md