aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2012-04-15 22:04:05 +0200
committerElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2012-04-15 22:04:05 +0200
commit3f80f3c1e5d72a9f0e4efca0bf2391ae97af2a7b (patch)
tree3e90a7196a7e8ef8214385553cf9b58a5623612c
parentdb8a9b9a590a62472134acef092dbcd199c73ca5 (diff)
arduino sketch: reset led after testing them
-rw-r--r--arduino_sketch/fuzzy_alarm_clock_ds1307/fuzzy_alarm_clock_ds1307.pde4
1 files changed, 1 insertions, 3 deletions
diff --git a/arduino_sketch/fuzzy_alarm_clock_ds1307/fuzzy_alarm_clock_ds1307.pde b/arduino_sketch/fuzzy_alarm_clock_ds1307/fuzzy_alarm_clock_ds1307.pde
index 9735508..b9b9c1f 100644
--- a/arduino_sketch/fuzzy_alarm_clock_ds1307/fuzzy_alarm_clock_ds1307.pde
+++ b/arduino_sketch/fuzzy_alarm_clock_ds1307/fuzzy_alarm_clock_ds1307.pde
@@ -315,9 +315,7 @@ void s_led_test() {
digitalWrite(YPIN,HIGH);
digitalWrite(BPIN,HIGH);
delay(1000);
- digitalWrite(RPIN,HIGH);
- digitalWrite(YPIN,LOW);
- digitalWrite(BPIN,LOW);
+ reset_leds();
}
}