Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WS2812_out_of_specification_demo
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.
Generated on Thu Jul 28 2022 06:19:11 by
1.7.2