From 3f80f3c1e5d72a9f0e4efca0bf2391ae97af2a7b Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 15 Apr 2012 22:04:05 +0200 Subject: arduino sketch: reset led after testing them --- arduino_sketch/fuzzy_alarm_clock_ds1307/fuzzy_alarm_clock_ds1307.pde | 4 +--- 1 file changed, 1 insertion(+), 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(); } } -- cgit v1.2.3