mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-10 06:14: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.
|
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)
|
### ColorObject GetPixelColor(uint16_t indexPixel)
|
||||||
This will return the color for the given pixel.
|
This will return the color for the given pixel.
|
||||||
indexPixel - the pixel number
|
indexPixel - the pixel number
|
||||||
<return>, a color object, RgbColor, HslColor, HsbColor, and RgbwColor will all work .
|
\<return\>, a color object, RgbColor or RgbwColor.
|
||||||
|
|
||||||
### void ClearTo(ColorObject color)
|
### void ClearTo(ColorObject color)
|
||||||
This will clear all pixels to the given color.
|
This will clear all pixels to the given color.
|
||||||
|
Reference in New Issue
Block a user