Browse Source

don't report internal temp

main
Hendrik Langer 7 years ago
parent
commit
9eba835b9e
  1. 4
      src/main.cpp

4
src/main.cpp

@ -284,7 +284,7 @@ void transmitStatus() {
root["humidity"] = bme280.readHumidity(); root["humidity"] = bme280.readHumidity();
root["pressure"] = bme280.readPressure(); root["pressure"] = bme280.readPressure();
} else { } else {
root["temperature"] = internal_temp; //root["temperature"] = internal_temp;
} }
char weatherBuf[root.measureLength()+1]; char weatherBuf[root.measureLength()+1];
@ -438,7 +438,7 @@ void loop()
// delay(1500); // delay(1500);
static const char starwars[] PROGMEM = static const char starwars[] PROGMEM =
"starwars:d=4,o=5,b=180:8f,8f,8f,2a#.,2f.6,8d#6,8d6,8c6,2a#.6,f.6,8d#6,8d6,8c6,2a#.6,f.6,8d#6,8d6,8d#6,2c6"; "Cantina:d=8,o=5,b=250:a,p,d6,p,a,p,d6,p,a,d6,p,a,p,g#,4a,a,g#,a,4g,f#,g,f#,4f.,d.,16p,4p.,a,p,d6,p,a,p,d6,p,a,d6,p,a,p,g#,a,p,g,p,4g.,f#,g,p,c6,4a#,4a,4g";
// Plenty more at: http://mines.lumpylumpy.com/Electronics/Computers/Software/Cpp/MFC/RingTones.RTTTL // Plenty more at: http://mines.lumpylumpy.com/Electronics/Computers/Software/Cpp/MFC/RingTones.RTTTL
mp3.playRTTTL(starwars, strlen_P(starwars)); mp3.playRTTTL(starwars, strlen_P(starwars));
delay(15000); delay(15000);

Loading…
Cancel
Save