Using Python and gpiozero library. Write a python script that meets the below requirements Red LED (on GP13) is on by default On button press (on GP2) turn off red and turn on Green LED (on GP26)...


Using Python and gpiozero library.


Write a python script that meets the below requirements



  1. Red LED (on GP13) is on by default

  2. On button press (on GP2) turn off red and turn on Green LED (on GP26)

  3. While green is on, sound Buzzer (on GP3) in quarter-second increments

  4. After two seconds, turn off green and turn on Yellow LED (on GP19)

  5. After one second, turn off yellow and return to red (step 1)




Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here