Project 6: Andrew, Annalisa, James, Sahana

Description:

Challenge 1: Turning on and off an LED: We used blink_LED.py and the circuit shown in the photo below. The tutorial found at this link: https://thepihut.com/blogs/raspberry-pi-tutorials/27968772-turning-on-an-led-with-your-raspberry-pis-gpio-pins helped us figure out how to set up the circuit and which ports to plug the voltage and ground into.

Challenge 2: We used motor.py and modified it to run when the button was pressed. A simple if statement was added. (See code and video)

Code:

blink_led.py

button.py

motor.py