I am a new PI owner and was thinking is it possible to wire a button and LED to the GPIO pins so that when the button is pressed, the LED turns on. Can you please guide me on what hardware I need if this is possible? Thanks in advance.
Google will give you the response quite easily, but I'll bite. You'll need:
- A Breadboard
- A 330 ohm resistor
- Two Male-Female jumper wires
You could skip the breadboard, but it would definitely make things easier for you if you would use it.
Just google "raspberry pi light led" without the quotes.