summaryrefslogtreecommitdiffstatshomepage
path: root/examples/rp2/pwm_fade.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp2/pwm_fade.py')
-rw-r--r--examples/rp2/pwm_fade.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/rp2/pwm_fade.py b/examples/rp2/pwm_fade.py
index 5b7089c6b1..6672f3443f 100644
--- a/examples/rp2/pwm_fade.py
+++ b/examples/rp2/pwm_fade.py
@@ -1,6 +1,8 @@
# Example using PWM to fade an LED.
# 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, PWM