mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated NeoPixelBus object API (markdown)
@@ -39,7 +39,7 @@ This will force the internal state to think that SetPixelColor() was called. Th
|
||||
This will force the internal state to think that Show() has happened and there is nothing new to send.
|
||||
|
||||
### uint8_t* Pixels()
|
||||
This will return a pointer to the internal buffer of pixels. See PixelsSize() and PixelSize() to understand how large this buffer is and how its laid out.
|
||||
This will return a pointer to the internal buffer of pixels. See PixelsSize() and PixelSize() to understand how large this buffer is and how its laid out. If you modify the buffer contents, you will need to let the NeoPixelBus know this by calling the `Dirty()` method otherwise `Show()` will not update the pixels.
|
||||
|
||||
### size_t PixelsSize()
|
||||
This will return the number of bytes of the internal buffer that calling Pixels() returns.
|
||||
|
Reference in New Issue
Block a user