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

Signed-off-by: Damien George <damien@micropython.org>
pull/10652/head
Damien George 2023-02-07 15:03:14 +11:00
rodzic 0afe60b876
commit 35524a6fda
3 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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