Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion RGBShades.ino
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ void setup() {
}

// list of functions that will be displayed
functionList effectList[] = {threeSine,
functionList effectList[] = {hueRotation,
threeSine,
threeDee,
scrollTextOne,
plasma,
Expand Down
12 changes: 12 additions & 0 deletions effects.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@
// * All animation should be controlled with counters and effectDelay, no delay() or loops
// * Pixel data should be written using leds[XY(x,y)] to map coordinates to the RGB Shades layout

// Hue Rotation
void hueRotation() {

// startup tasks
if (effectInit == false) {
effectInit = true;
effectDelay = 60;
}

fillAll(CHSV(cycleHue, 255, 255));
}

// Triple Sine Waves
byte sineOffset = 0; // counter for current position of sine waves
void threeSine() {
Expand Down