diff --git a/Neopixel.ino b/Neopixel.ino index 6688cdd..2cf9ce9 100644 --- a/Neopixel.ino +++ b/Neopixel.ino @@ -77,6 +77,7 @@ void processBrightness() { int r=0; if (light <= 10) { sBrightness = light; + if (!sBrightness) sBrightness = 1; } else { r = constrain(light, 0, maxLightRead); sBrightness = map(r, 11, maxLightRead, 11, maxBrightness); diff --git a/fw/simple-co2-monitor-fw.1.8.1.zip b/fw/simple-co2-monitor-fw.1.8.1.zip new file mode 100644 index 0000000..666d749 Binary files /dev/null and b/fw/simple-co2-monitor-fw.1.8.1.zip differ diff --git a/simple-co2-monitor-fw.ino b/simple-co2-monitor-fw.ino index fe59240..26c271c 100644 --- a/simple-co2-monitor-fw.ino +++ b/simple-co2-monitor-fw.ino @@ -88,16 +88,17 @@ char *wifiStat = "n/a"; * MAX Sketch size should be less than 0x7000 28672 bytes to work with stupid bootloaders */ void setup() { - Serial.begin(9600); + Serial.begin(9600); esp.begin(9600); if (DEBUG) { Serial << F("\n\nDeG\n\n"); } - Serial << F("vAir CO2 Monitor: v1.8\n");// << endl; + Serial << F("vAir CO2 Monitor: v1.8.1\n");// << endl; Serial << F("Visit 'vair-monitor.com' for configuration details\n");// << endl; overrideBrightness = EEPROM.read(EE_1B_BRG); checkEEVersion(); initNeopixels(); + espOFF(); initCO2ABC(); setWifiStat("");