Skip to content

Commit

Permalink
Version 1.8.1 - When in total darkness, the LEDs went off
Browse files Browse the repository at this point in the history
  • Loading branch information
vlast3k committed Jan 11, 2016
1 parent 119c929 commit 80aa912
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Neopixel.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Binary file added fw/simple-co2-monitor-fw.1.8.1.zip
Binary file not shown.
5 changes: 3 additions & 2 deletions simple-co2-monitor-fw.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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("");
Expand Down

0 comments on commit 80aa912

Please sign in to comment.