from machine import Pin
led=pin(‘LED’,Pin.OUT)
led.value(1)
the above generates an error No module named “machine”
2 Answers
OK GOT IT! You have to change the type of Interpretar! Tools>Option>Interpreter. I’m using MicroPytonRp2040 instead of the one at the top of the top of the list! Put the code in and keep changing the Interpreter setting until it works
Thanks Sara- Once I determined why it wasn’t talking to me, everything fell into place. Also had an absolutely DOA board from China that held me up until I determined it was junk! Now busily porting code!