R
@robert-hh Thanks! I tried pulling a cable between two pins using the following code.
count = 0
def rnd_triage(arg):
global count
print("callback fired", count)
count += 1
p = Pin('P13', mode=Pin.IN, pull=Pin.PULL_DOWN)
p.callback(trigger=Pin.IRQ_RISING, handler=rnd_triage)
t = Pin('P12', mode=Pin.OUT, pull=None, alt=-1)
while True:
time.sleep(3)
t.value(0)
time.sleep(3)
t.value(1)
It seems to be working quite well at least, so maybe I will just endure the button performance for now. Thanks a lot for the help!