WS2812 Open


Open the WS2812 controller. This function will allocate memory on the device to store the RGB data. If the device is unable to allocate memory an error is returned.

Note: WS2812 Functions Are Currently Only Supported on chipKIT WF32 and Max32.

WF32 must use pin 11 as the data channel Max32 must use pin 43 if jumper JP4 is set to slave and 51 if JP4 is set to master.

Inputs


LINX Resource
Contains LINX connection resources.

Data Channel
Specifies the LINX device digital output channel conencted to the WS2812 chain's data input pin.

  • The chipKIT WF32 must use pin 11 as the data channel
  • The chipKIT Max32 must use pin 43 if jumper JP4 is set to slave and 51 if JP4 is set to master.



Number of LEDs
Specifies the number of WS2812 LEDs to allocate memory for.

Error In
Describes error conditions that occur before this node runs. This input provides standard error in functionality.

Outputs


LINX Resource
Contains LINX connection resources.

Error Out
Contains error information. This output provides standard error out functionality.