Build script updates for newer arduino and esp packages
This commit is contained in:
parent
5966c6249e
commit
727eb38bbc
2 changed files with 4 additions and 4 deletions
4
build.sh
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
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue