Skip to content

Seeed-Studio/Grove_Chainable_RGB_LED

Repository files navigation

ChainableLED Build Status

Grove - Chainable RGB LED

Grove – Chainable RGB Led V2.0

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.

For more information please visit Seeed wiki or the author's Gitub.

Usage:

Installation

  • Install library from Arduino Library Manager

    or

  • Download source code from GitHub.

Library Interface

    class ChainableLED {
      public:
        ChainableLED(byte clk_pin, byte data_pin, byte number_of_leds);

        void setColorRGB(byte led, byte red, byte green, byte blue);
        void setColorHSB(byte led, float hue, float saturation, float brightness);
    }

For more information, please refer to author's wiki page or seeedstudio's wiki page.


This software is written by pjp.marques@gmail.com.

Contributing to this software is warmly welcomed. You can do this basically by
forking, committing modifications and then pulling requests (follow the links above
for operating guide). Adding change log and your contact into file header is encouraged.
Thanks for your contribution.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China.
Benefiting from local manufacture power and convenient global logistic system,
we integrate resources to serve new era of innovation. Seeed also works with
global distributors and partners to push open hardware movement.

Analytics