The pio_1hz.py example has a off-by-one cycle issue between pin high and pin low. The delays should be exact, even if it's insignificant for a LED blink in this IRQ example.
This Logic 2 capture shows the timing difference between pin high and pin low.
The
pio_1hz.py
example has a off-by-one cycle issue between pin high and pin low. The delays should be exact, even if it's insignificant for a LED blink in this IRQ example.This Logic 2 capture shows the timing difference between pin high and pin low.