From: gregor herrmann Date: Sat, 31 Oct 2020 23:41:59 +0000 (+0100) Subject: make warmuptime a constant X-Git-Url: https://git.toastfreeware.priv.at/toast/airingbutler.git/commitdiff_plain/77ddbde90ffdf3a4a6265094f0d2c33844cd3724 make warmuptime a constant --- diff --git a/airingbutler.ino b/airingbutler.ino index a446855..b4579e6 100644 --- a/airingbutler.ino +++ b/airingbutler.ino @@ -14,11 +14,12 @@ const int buzzer_pin = 13; 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; -unsigned long warmuptime = 60000; // 1 min. int co2 = 0; int temp = 0; int lastppm = 0;