Переглядів 13,077
This video shows you how to control your Raspberry Pi using a button. I also show you how to turn an LED an and off using a button and the Raspberry Pi GPIO pins. This builds off part 1 - Blinking LED • Blinking LED Raspberry...
Subscribe for more Raspberry Pi tutorials :) ukposts.info...
I may earn commission if you purchase from the links below:
MY CAMERA: amzn.to/3reaDlK
MY MICROPHONE: amzn.to/3fhunSN
MY LIGHTING: amzn.to/3dHll1i
FREE Amazon Prime: amzn.to/3ren80W
FREE Audible Plus: amzn.to/3xYzJsR
RASPBERRY PI 4: amzn.to/3BC4i9I
RASPBERRY PI PICO START KIT: amzn.to/3REvjis
RASPBERRY PI CAMERA V2: amzn.to/3QFp90c
ELECTRONICS COMPONENT STARTER KIT: amzn.to/3qB23xg
ASSORTED SENSOR KIT: amzn.to/3U7M7zV
USB SPEAKER: amzn.to/3La4foK
USB 1080P WEBCAM: amzn.to/3Lq0OL7
GPIO tutorial series playlist - • Blinking LED Raspberry...
0:00 Intro
0:23 Materials
Raspberry Pi
Male-Female jumper x3
Small piece of wire (optional)
Breadboard
Button
LED
~100 ohm resistor (BrBkBr)
1:27 Part 1 Recap
Raspberry Pi Foundation's tutorial - projects.raspberrypi.org/en/p...
2:02 Set up the circuit
3:47 Set up the code
5:35 Add the LED circuit
6:55 Add the LED toggling code
9:16 LED as a switch
11:20 Thank you