esp32-lightbar/src/boot.py

11 lines
310 B
Python
Raw Normal View History

# boot.py -- This file is executed on every boot (including wake-boot from deepsleep)
2021-12-28 22:10:27 +01:00
from lightbar import wlan_manager
import webrepl
2021-12-28 22:10:27 +01:00
# Connect to WLAN as defined in wlan_cfg.py
wlan_manager.connect()
2021-12-28 22:10:27 +01:00
# Start WebREPL on default port 8266 with password defined in webrepl_cfg.PASS
webrepl.start()