
https://store.micropython.org/product/PYBv1.1H
Any idea whats wrong? Does it needs to be switched on first or something similar?

Code: Select all
btn_reset = 0
def pin_switchup(pin):
global btn_reset
if btn_reset == 0:
btn_reset = 1
switchup()
Code: Select all
while True:
btn_reset = 0
... (functions and time sleeps)