-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
Description
Port, board and/or hardware
Rensas-RA, Board RA6M2
MicroPython version
MicroPython v1.24.0-preview.36.gdc9e733ad on 2024-06-12; EK-RA6M2 with RA6M2
Reproduction
from machine import Pin, idle
p5=Pin("P005", Pin.IN)
p6=Pin("P006", Pin.OUT, value=0)
def cb(pin):
global p6
p6(1)
p6(0)
p5.irq(handler=cb, trigger=Pin.IRQ_FALLING)
while True:
idle()
Expected behaviour
Response pulse at Pin P006.
Observed behaviour
No pulse. If I call the callback directly, I get a pulse.
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree