forked from toblum/McLighting
-
Notifications
You must be signed in to change notification settings - Fork 30
Autocycling
bpohvoodoo edited this page Mar 27, 2019
·
1 revision
Starting from 30.09.2017 there is now a way to auto cycle through the modes. In definitions.h you can define what modes are cycled through:
// parameters for automatically cycling favorite patterns
uint32_t autoParams[][6] = { // main_color, back_color, xtra_color, speed, mode, duration (seconds)
{0x00ff0000, 0x0000ff00, 0x00000000, 200, 1, 5000}, // blink red/geen for 5 seconds
{0x0000ff00, 0x000000ff, 0x00000000, 200, 3, 10000}, // wipe green/blue for 10 seconds
{0x000000ff, 0x00ff0000, 0x00000000, 60, 14, 10000}, // dual scan blue on red for 10 seconds
{0x000000ff, 0x00ff0000, 0x00000000, 40, 45, 15000}, // fireworks blue/red for 15 seconds
{0x00ff0000, 0x0000ff00, 0x000000ff, 40, 54, 15000} // tricolor chase red/green/blue for 15 seconds
};
You can get the mode numbers from the browser frontend. Just add/modify lines how you like it.