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

General • unable to blink LED on breadboard

$
0
0
hello, newbie here.
I have been attempting to get an LED to blink that I have connect to a breadboard and the pico. I have replaced everything I can but the pico itself. The LED is not backwards and everything is grounded. The code even works on wokwi without any issues

here is the code I have:
vscode.png
here is my setup:
bread.png
here is wokwi setup:
wokwi.png
Notes: I was able to upload the blinky uf2 file and have the onboard LED blink. But when I upload my uf2, nothing happens. Something else I notice happening is when i upload my file, unplug the pico, and then plug it back in without holding bootsel, the onboard LED starting blinking. I can only assume that is because of the blinky file, but I don't understand how that is happening if I am uploading a new file?

To compile, i am doing "cmake .." "make"

any help appreciated

Statistics: Posted by fiddlefig — Sun Aug 03, 2025 8:14 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles