diff --git a/src/CycloTiny85.ino b/src/CycloTiny85.ino index 01b5572..e828205 100644 --- a/src/CycloTiny85.ino +++ b/src/CycloTiny85.ino @@ -105,6 +105,8 @@ if (run_mod){ break; } } + if (breaked) break; + if (check_button()) break; delay(tempo_anim); for (int i = 0; i < NUM_LEDS; i++) { leds[i] = CRGB::Green; @@ -121,18 +123,23 @@ if (run_mod){ if (check_button()) break; } } + +// dual color if (run_mod) { for (int i = 0; i < 5; i++) { dual_color(CRGB::Red, CRGB::Green, tempo_anim); if (check_button()) break; } - } +} +// Xmas if (run_mod){ for (int i = 0; i < 20; i++) { xmas( tempo_anim); if (check_button()) break; } } + +// aller-retour if (run_mod){ int i =1; int j= 0;