Kinetic Sculpture
3.1
Software to Architecture for the Junior Kinetic Sculpture Project
|
#include <LEDStrip.h>
Public Member Functions | |
LEDStrip (byte red, byte green, byte blue) | |
void | backlightStartTransition (byte red, byte green, byte blue, unsigned long transitionDurationMS) |
void | setColor (byte red, byte green, byte blue) |
void | randomColor () |
Class to control the backlights on the Kinetic Sculpture
Written by Wade Varesio and Courtney McIntosh 05/13/2019
|
inline |
|
inline |
Smoothly transitions colors to new colors over a given duration
red | the new red value from 0-255 |
green | the new green value from 0-255 |
blue | the new blue value from 0-255 |
transitionDurationMS | amount of time (in MS) for the LEDStrip to transition between colors |
|
inline |
|
inline |
Immediately set the LEDStrip to a random color based on the predetermined random algorithm