/* * Example of using the ChainableRGB library for controlling a Grove RGB. * This code puts a red dot (led) moving along a strip of blue dots. */ #include #define NUM_LEDS 5 ChainableLED leds(7, 8, NUM_LEDS); void setup() { leds.init(); } byte pos = 0; void loop() { for (byte i=0; i