WS2812
Library for the WS2812 RGB LED with integrated controller. More...
Public Functions
Detailed Description
The WS2812 is controller that is built into a range of LEDs
Public Functions Documentation
function WS2812
Creates an instance of the class.
Connect WS2812 address addr using SPI MOSI pins WS2812 constructor.
Parameters:
d SPI MOSI pin (data pin of WS2812)
size number of RGB LEDs on stripe
function ~WS2812
function write
Writes data to bus asynchronously.
Parameters:
buf pointer to buffer to write
function write_offsets
function setAll
Set all LEDs to the same color
Parameters:
colour color to set
function useII
function setII
The documentation for this class was generated from the following file: D:/w/hw-libs/\_libs\_/libraries/WS2812.h
Last updated