Raspberry Pi Pico - First project problem #10369
Replies: 3 comments
-
The statements in your while loop need to be indented.
I suggest you will save yourself some hair pulling if you just take a small pause to introduce yourself to python (and micropython) . I was perusing youtube before looking at this forum and I remembered youtube showing me some latest videos one of which was a new series on learning micropython so I popped back to get the address of lesson 1. see: |
Beta Was this translation helpful? Give feedback.
-
I think .value is for input GPIO. Well, it is for the ESP32. Try: while True:
led_onboard.on()
utime.sleep(2)
led.onboard.off()
utime.sleep(2) |
Beta Was this translation helpful? Give feedback.
-
As said, the Code in the While Part must be intendet. This issues the syntax error in the screenshot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm a beginner for Raspberry Pi Pico. I cannot run my first project and I don't know why. I'm using Thonny 4.0.1. Can you help me please? Thank you


This is from the book
This is a screenshot of my code
Beta Was this translation helpful? Give feedback.
All reactions