summaryrefslogtreecommitdiff
path: root/examples/rp2/pio_pwm.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp2/pio_pwm.py')
-rw-r--r--examples/rp2/pio_pwm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/rp2/pio_pwm.py b/examples/rp2/pio_pwm.py
index 176a23809..24fd6b85a 100644
--- a/examples/rp2/pio_pwm.py
+++ b/examples/rp2/pio_pwm.py
@@ -1,5 +1,7 @@
# Example of using PIO for PWM, and fading the brightness of an LED
+# ruff: noqa: F821 - @asm_pio decorator adds names to function scope
+
from machine import Pin
from rp2 import PIO, StateMachine, asm_pio
from time import sleep