Skip to content

Commit

Permalink
examples/rp2: Add comment that examples using IO25 don't work on Pico W.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Feb 7, 2023
1 parent 0afe60b commit 35524a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/rp2/pio_1hz.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 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.

import time
from machine import Pin
Expand Down
1 change: 1 addition & 0 deletions examples/rp2/pio_exec.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Example using PIO to turn on an LED via an explicit exec.
# Note: this does not work on Pico W because it uses Pin(25) for LED output.
#
# Demonstrates:
# - using set_init and set_base
Expand Down
1 change: 1 addition & 0 deletions examples/rp2/pwm_fade.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Example using PWM to fade an LED.
# Note: this does not work on Pico W because it uses Pin(25) for LED output.

import time
from machine import Pin, PWM
Expand Down

0 comments on commit 35524a6

Please sign in to comment.