summaryrefslogtreecommitdiff
path: root/examples/rp2/pio_1hz.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp2/pio_1hz.py')
-rw-r--r--examples/rp2/pio_1hz.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/rp2/pio_1hz.py b/examples/rp2/pio_1hz.py
index c18aa22fc..4b6fe95bb 100644
--- a/examples/rp2/pio_1hz.py
+++ b/examples/rp2/pio_1hz.py
@@ -16,9 +16,10 @@ def blink_1hz():
nop() [29]
jmp(x_dec, "delay_high")
- # Cycles: 1 + 7 + 32 * (30 + 1) = 1000
+ # Cycles: 1 + 1 + 6 + 32 * (30 + 1) = 1000
+ nop()
set(pins, 0)
- set(x, 31) [6]
+ set(x, 31) [5]
label("delay_low")
nop() [29]
jmp(x_dec, "delay_low")