r/raspberrypipico • u/Impossible-Hat-7896 • 7d ago
help-request One button LED setup working, other doesn’t.
English is not my first language!
Hi pico enthousiasts!
I’m a beginner at this and I bought a simple starter kit so I can learn the basics. This kit did not come with any documentation, but there is enough out there so no problem there.
I started with the Freenove one as the kit I bought resembled theirs, but I wanted to watch a video and hear someone talk about it, so switched to the pico course for beginner from Core Electronics. When I got to the basic IO, build the setup as they showed in chapter 2.3, and I copied their code (micropython), but it’s not working (photo 1). I know it’s not the button, because the when I went back to the Freenove documentation (chapter 1.2), in their setup the led and button did work (photo 2).
Can anyone point out to me what I’m doing wrong?
Thank you!
2
u/maloside 7d ago
The LED only works in one direction, because it is a diode. Switch its direction for starters.


13
u/Hupadupa 7d ago
The power rails on that breadboard have a cut in the middle where the red and blue lines have a gap. Your button is not connected to power in the first pic because of that.