Skip to content
Arduino library compatible with Grove Chainable LED and the P9813 chip
C++
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
ChainableLED.cpp Make compatible with Particle devices (tested with Photon) Nov 27, 2015
ChainableLED.h Make compatible with Particle devices (tested with Photon) Nov 27, 2015
LICENSE Added license file Aug 29, 2012
README.md Fixed minor cosmetic issues in README.md Feb 13, 2016
keywords.txt Updated keywords Aug 29, 2012

README.md

ChainableLED

Arduino 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.

More information on the wiki

Installation

  1. Grab the latest version from the release section of GitHub. (https://github.com/pjpmarques/ChainableLED/releases)

  2. Unzip it to your Arduino "libraries" directory.

  3. 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);
}
You can’t perform that action at this time.