mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 12:54:26 +02:00
Updated NeoPixelBus object API (markdown)
@@ -44,9 +44,9 @@ indexPixel - the pixel number
|
||||
color - a color object to use, RgbColor, HslColor, and HsbColor will all work and if the NeoPixelBus object was created with the NeoRgbwFeature the RgbwColor will also work.
|
||||
|
||||
### ColorObject GetPixelColor(uint16_t indexPixel)
|
||||
This will return the color for the given pixel.
|
||||
indexPixel - the pixel number
|
||||
<return>, a color object, RgbColor, HslColor, HsbColor, and RgbwColor will all work .
|
||||
This will return the color for the given pixel.
|
||||
indexPixel - the pixel number
|
||||
\<return\>, a color object, RgbColor or RgbwColor.
|
||||
|
||||
### void ClearTo(ColorObject color)
|
||||
This will clear all pixels to the given color.
|
||||
|
Reference in New Issue
Block a user