plus de commantaires

gestion du bouton dans amination 1
master
jblb 4 years ago
parent 48311617f1
commit f6811b0fad

@ -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;

Loading…
Cancel
Save