Browse Source

Build script updates for newer arduino and esp packages

main
Paul Warren 5 months ago
parent
commit
727eb38bbc
  1. 4
      build.sh
  2. 4
      esp_time.ino

4
build.sh

@ -2,9 +2,9 @@
opt=$1
case $opt in
-u) ~/bin/arduino --upload -v --port /dev/ttyUSB0 --board esp8266:esp8266:d1_mini:baud=460800,ip=lm6f esp_time.ino
-u) arduino --upload -v --port /dev/ttyUSB0 --board esp8266:esp8266:d1:baud=460800,ip=lm6f esp_time.ino
;;
*) ~/bin/arduino --verify -v --board esp8266:esp8266:d1_mini:baud=460800,ip=lm6f esp_time.ino
*) arduino --verify -v --board esp8266:esp8266:d1:baud=460800,ip=lm6f esp_time.ino
;;
esac

4
esp_time.ino

@ -332,8 +332,8 @@ void loop() {
if (second(now()) >= wakeup_seconds) {
epd_wakeup();
epd_clear();
//weatherUpdate();
//Serial.print("Weather details sent: ");
weatherUpdate();
Serial.print("Weather details sent: ");
Serial.println(second(now()));
printDateTime(1);

Loading…
Cancel
Save