I have Raspberry Pi Pico W with:
Code: Select all
Python version
3.4.0; MicroPython v1.19.1 on 2022-06-18
Version info.
(3, 4, 0)
Code: Select all
from machine import Pin
led = Pin( "LED", Pin.OUT )
led.on()
led.off()
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 4, in <module>
TypeError: can't convert str to int
Any idea?