Makuna / NeoPixelBus

An Arduino NeoPixel support library supporting a large variety of individually addressable LEDs. Please refer to the Wiki for more details. Please use the GitHub Discussions to ask questions as the GitHub Issues feature is used for bug tracking.
GNU Lesser General Public License v3.0
1.18k stars 261 forks source link

Support for Adafruit Pixie #749

Closed nick-diel closed 9 months ago

nick-diel commented 9 months ago

Added support for Adafruit's Pixie product.

Product page: https://www.adafruit.com/product/2741 Original Library: https://github.com/adafruit/Adafruit_Pixie/tree/master

Simple protocol over UART: Pixie reads data in at 115.2k serial, 8N1. Byte order is R1, G1, B1, R2, G2, B2, ... where the first triplet is the color of the LED that's closest to the controller. 1ms of silence triggers latch. 2 seconds silence (or overheating) triggers LED off (for safety).

I left the setup and management of the UART out of the library to help ensure compatibility across all boards.

nick-diel commented 9 months ago

@Makuna Thanks for the review! I am just a weekend warrior programmer, appreciate the detailed responses. I made requested changes and also added a constructor to the NeoPixelBusLg class.