diff --git a/main.lua b/main.lua index 9273e10..4c39774 100644 --- a/main.lua +++ b/main.lua @@ -9,8 +9,6 @@ tmr.alarm(0, 100, 1, function() print("Connecting to AP...") else tmr.stop(0) - -- Switch of the booting lamp - gpio.write(5, gpio.LOW) print('IP: ',wifi.sta.getip()) --ptbtime1.ptb.de diff --git a/os/flash.sh b/os/flash.sh index 54305ae..5bf15a9 100755 --- a/os/flash.sh +++ b/os/flash.sh @@ -30,4 +30,4 @@ if [ $? -ne 0 ]; then exit 1 fi -sudo ./esptool.py --port /dev/$DEVICE write_flash 0x00000 0x00000.bin 0x10000 0x10000.bin +sudo ./esptool.py --port /dev/$DEVICE write_flash 0x00000 nodemcu-master-bit,enduser_setup,file,gpio,node,rtcfifo,rtcmem,rtctime,sntp,spi,tmr,uart,wifi,ws2812-integer.bin diff --git a/programESP.sh b/programESP.sh old mode 100644 new mode 100755 diff --git a/timecore.lua b/timecore.lua old mode 100644 new mode 100755