14 lines
226 B
Python
14 lines
226 B
Python
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()
|
|
|