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.
WS281X Class Reference
#include <WS281X.h>
Inherits RGBPixels.
Public Types | |
enum | RGBOrder |
Order of r, g and b bytes. More... | |
Public Member Functions | |
WS281X (PinName txPin, PinMode pinMode=PullNone, int maxPixels=MAX_PIXELS, RGBOrder rgbOrder=WS281X::RGB) | |
Initializes the addressable led bus. |
Detailed Description
Definition at line 22 of file WS281X.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
WS281X | ( | PinName | txPin, |
PinMode | pinMode = PullNone , |
||
int | maxPixels = MAX_PIXELS , |
||
RGBOrder | rgbOrder = WS281X::RGB |
||
) |
Initializes the addressable led bus.
- Parameters:
-
txPin - The output pin on wich the addressable leds are connected pinMode - The output pin mode PullUp, PullDown, PullNone, OpenDrain maxPixels - Number of the addressable leds RGBOrder - The order in wich the r, g and b bytes are expected
Definition at line 28 of file WS281X.cpp.
Generated on Thu Jul 14 2022 04:31:44 by
