When connected via WiFi over WebREPL, if I stop main.main() with CTRL-C and call:
Code: Select all
import machine
machine.reset()
Power cycling the device solves the problem. I hooked up a Tasmota power plug and just toggle it off and on to solve the issue for now to avoid running up and down the stairs.
Is there a problem with the i2c declaration? Mine looks like:
Code: Select all
i2c = I2C(
0,
scl=Pin(config.SCL_PIN),
sda=Pin(config.SDA_PIN),
freq=400000
)
Thanks for any help!