]> ToastFreeware Gitweb - toast/airingbutler.git/blobdiff - airingbutler.ino
make warmuptime a constant
[toast/airingbutler.git] / airingbutler.ino
index a44685562c49845d0980f24d672a6381a7f0ee69..b4579e6fe78e2a46ec31fb07fdd016c51364a722 100644 (file)
@@ -14,11 +14,12 @@ const int buzzer_pin = 13;
 const int co2_warning_thr = 1000;
 const int co2_alarm_thr   = 1500;
 
 const int co2_warning_thr = 1000;
 const int co2_alarm_thr   = 1500;
 
+const unsigned long warmuptime = 60000; // 1 min.
+
 MHZ19 mhz19 = MHZ19(rx_pin,tx_pin);
 LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
 
 unsigned long time;
 MHZ19 mhz19 = MHZ19(rx_pin,tx_pin);
 LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
 
 unsigned long time;
-unsigned long warmuptime = 60000; // 1 min.
 int co2 = 0;
 int temp = 0;
 int lastppm = 0;
 int co2 = 0;
 int temp = 0;
 int lastppm = 0;