scheduler: improve all the things
This commit is contained in:
parent
3a4a368038
commit
3f8f174a07
1 changed files with 132 additions and 130 deletions
10
boot.py
10
boot.py
|
@ -1,14 +1,15 @@
|
||||||
# ssid, password
|
|
||||||
import wifi
|
|
||||||
import usocket as socket
|
import usocket as socket
|
||||||
from utime import sleep
|
from utime import sleep
|
||||||
|
|
||||||
from machine import Pin, RTC, I2C
|
from machine import Pin, RTC, I2C
|
||||||
import network
|
import network
|
||||||
from DS3231 import DS3231
|
from DS3231 import DS3231
|
||||||
import web
|
import web
|
||||||
|
|
||||||
import esp
|
import esp
|
||||||
|
## wifi.py
|
||||||
|
# ssid = xxx
|
||||||
|
# password = yyy
|
||||||
|
import wifi
|
||||||
|
|
||||||
esp.osdebug(None)
|
esp.osdebug(None)
|
||||||
|
|
||||||
import ure
|
import ure
|
||||||
|
@ -16,6 +17,7 @@ import uos
|
||||||
import ujson
|
import ujson
|
||||||
|
|
||||||
import gc
|
import gc
|
||||||
|
|
||||||
gc.collect()
|
gc.collect()
|
||||||
|
|
||||||
# global variables
|
# global variables
|
||||||
|
|
Loading…
Reference in a new issue