Kenji Arai / WS2812

Dependents:   WS2812_out_of_specification_demo

Embed: (wiki syntax)

« Back to documentation index

WS2812 Class Reference

WS2812 Class Reference

Library for the WS2812 RGB LED with integrated controller. More...

#include <WS2812.h>

Public Member Functions

 WS2812 (PinName mosi, PinName miso, PinName sclk, int size)
 Creates an instance of the class.
 ~WS2812 ()

Detailed Description

Library for the WS2812 RGB LED with integrated controller.

The WS2812 is controller that is built into a range of LEDs

Definition at line 94 of file WS2812.h.


Constructor & Destructor Documentation

WS2812 ( PinName  mosi,
PinName  miso,
PinName  sclk,
int  size 
)

Creates an instance of the class.

Connect WS2812 using SPI MOSI pin(Only use) and MISO&SCLK(NC)

Definition at line 8 of file WS2812.cpp.

~WS2812 (  )

Destroys instance.

Definition at line 18 of file WS2812.cpp.