Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Autocycling

Debashish Sahu edited this page Mar 7, 2019 · 3 revisions

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[][4] = {   // color, speed, mode, duration (milliseconds) 
    {0xff0000, 200,  1,  5000}, // blink red for 5 seconds 
    {0x00ff00, 200,  3, 10000}, // wipe green for 10 seconds 
    {0x0000ff, 200, 11,  5000}, // dual scan blue for 5 seconds 
    {0x0000ff, 200, 42, 15000}  // fireworks for 15 seconds 
}; 

You can get the mode numbers from the browser frontend. Just add/modify lines how you like it.

Clone this wiki locally