Thanks for testing - I hadn't noticed -(The comment in the documentation about Pin25 appears to be dated and misleading, but the code works.)
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