Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7512

MicroPython • Re: picozero packages are not listing on Manage packages

$
0
0
(The comment in the documentation about Pin25 appears to be dated and misleading, but the code works.)
Thanks for testing - I hadn't noticed -

Code:

try:    pico_led = LED("LED", pwm=False)except TypeError:    # older version of micropython before "LED" was supported    pico_led = LED(25, pwm=False)

Statistics: Posted by hippy — Sat Feb 15, 2025 12:14 pm



Viewing all articles
Browse latest Browse all 7512

Trending Articles