pico-w-clock/main.py

15 lines
226 B
Python
Raw Normal View History

2023-01-31 12:34:52 +00:00
import machine
import io_state
import access_point
from webserver import accept_connection
try:
while True:
accept_connection()
io_state.state.update()
except KeyboardInterrupt:
machine.reset()