Home > piixel > Ws281xConfig
Configuration options for the Ws281x library
Signature:
export interface Ws281xConfig
Property | Modifiers | Type | Description |
---|---|---|---|
dma? | number | (Optional) DMA channel to use (default 10) See https://github.com/jgarff/rpi_ws281x/blob/master/README.md#important-warning-about-dma-channels | |
gpio? | ValidGPIO | (Optional) Set the GPIO number to communicate with the Neopixel strip (default 18, PWM0) | |
leds | number | Number of LEDs to control | |
resetOnExit? | boolean | (Optional) Reset the LEDs on process exit (default false) | |
type? | StripType | (Optional) Strip type (default StripType.WS2811_STRIP_GRB) |