Show an example of how to override defaults

Fixes #8.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/389/head
Gergely Nagy 7 years ago
parent 4850787b65
commit 51b28577db

@ -34,6 +34,8 @@ void setup (void) {
Kaleidoscope.use (&TypingBreaks); Kaleidoscope.use (&TypingBreaks);
Kaleidoscope.setup (); Kaleidoscope.setup ();
TypingBreaks.settings.idle_time_limit = 60;
} }
``` ```

@ -43,6 +43,8 @@ void setup() {
Kaleidoscope.use(&TypingBreaks); Kaleidoscope.use(&TypingBreaks);
Kaleidoscope.setup(); Kaleidoscope.setup();
TypingBreaks.settings.idle_time_limit = 60;
} }
void loop() { void loop() {

Loading…
Cancel
Save