Raspberry Pi 4 Blink LED and Switch Control

In this video, I quickly flash an SD card with the Raspbian operating system for my newly bought Raspberry Pi 4. Then, setup the raspberry Pi 4, write a python script to automatically turn an LED on and off. A switch is added to the circuit and the script is modified to manually turn on the LED using the script.

BlinkLED script to automatically turn LED on and off:
https://github.com/syeboah7/PythonProjects/blob/master/BlinkLED.py

Switch controlled LED:
https://github.com/syeboah7/PythonProjects/blob/master/SwitchControlledLED.py

Share On Social Media

Leave a Reply