Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.27 KB

piixel.ws281xconfig.md

File metadata and controls

24 lines (16 loc) · 1.27 KB

Home > piixel > Ws281xConfig

Ws281xConfig interface

Configuration options for the Ws281x library

Signature:

export interface Ws281xConfig 

Properties

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)