examples/rp2: Add comment that examples using IO25 don't work on Pico W.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2023-02-07 15:03:14 +11:00
parent 0afe60b876
commit 35524a6fda
3 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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