Grove_ChainableLED (community library)
Summary
Name | Value |
---|---|
Name | Grove_ChainableLED |
Version | 1.0.2 |
Installs | |
Author | Seeed Studio |
Maintainer | Seeed Studio techsupport@seeed.cc |
URL | https://github.com/Seeed-Studio/Grove_ChainableLED |
Repository | https://github.com/Seeed-Studio/Grove_ChainableLED.git |
Download | .tar.gz |
All Versions | 1.0.2, 1.0.1, 1.0.0 |
Particle library to control Grove_ChainableLED. Particle library compatible with Grove Chainable LED and the P9813 chip. It allows controlling a chain of LEDS individually.
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the library maintainer and has not been validated or approved.
ChainableLED
Particle library compatible with Grove Chainable LED and the P9813 chip. It allows controlling a chain of LEDS individually.
Supports both RGB and HSB color spaces for setting the color of each individual LED.
Compatible with Particle devices.
Installation
Grab the latest version from the release section of GitHub. (https://github.com/pjpmarques/ChainableLED/releases)
Add it to your Particle "libraries" directory.
It should be ready to use. Examples are included.
Library Interface
class ChainableLED {
public:
ChainableLED(byte clk_pin, byte data_pin, byte number_of_leds);
void init();
void setColorRGB(byte led, byte red, byte green, byte blue);
void setColorHSB(byte led, float hue, float saturation, float brightness);
}
Browse Library Files