Build script updates for newer arduino and esp packages

This commit is contained in:
Paul Warren 2022-01-29 07:58:34 +11:00
parent 5966c6249e
commit 727eb38bbc
2 changed files with 4 additions and 4 deletions

View file

@ -2,9 +2,9 @@
opt=$1 opt=$1
case $opt in 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 esac

View file

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