- Preparing search index...
- The search index is not available
API Doc
Constructors
constructor
- new Neopixel(pin, count): Neopixel
-
Parameters
-
pin: number
-
count: number
Methods
get
- get(index): Rgb
-
Returns Rgb
The color of the LED.
set
- set(index, rgb): void
-
Returns void
show
- show(): void
-
Returns void
Create a new Neopixel strip.