The interrupt source is connected to a GPIO input.
Code: Select all
pin_int.irq(trigger=Pin.IRQ_RISING, handler=tick)
Code: Select all
def tick(int_pin):
loop_test1.high()
# blahblahblah
loop_test1.low()
But to my surprise, the captured waveform does not align the interrupt event (purple line) to the loop_test1 (yellow line), except for the very first one. The interrupt events seem to be queued and responsed in batch.
How could it be like this?