summaryrefslogtreecommitdiffstatshomepage
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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/rp2/pio_1hz.py b/examples/rp2/pio_1hz.py
index 84d761fa14..3ffab79d56 100644
--- a/examples/rp2/pio_1hz.py
+++ b/examples/rp2/pio_1hz.py
@@ -1,6 +1,8 @@
# Example using PIO to blink an LED and raise an IRQ at 1Hz.
# Note: this does not work on Pico W because it uses Pin(25) for LED output.
+# ruff: noqa: F821 - @asm_pio decorator adds names to function scope
+
import time
from machine import Pin
import rp2