Question: use python PROGRAM & TEST: Copy and paste the following incomplete program to your editor. Modify it so the serial console displays whether switch 1,

PROGRAM & TEST: Copy and paste the following incomplete program to your editor. Modify it so the serial console displays whether switch 1, switch 2, or switch 3 has been pressed. # CircuitPython Demo: 74HC153 Multiplexer import time import board from digitalio import Digital Inout, Direction # Set up select lines for 4-input multiplexer # Write your own code here. Use se and 51 as your variable names # Senses output from the multiplexer switch - Digital Inout (board.de) switch.direction = Direction. INPUT while True: # This checks just the switch on the multiplexer's input #0 so.value = False 51.value = False if not switch.value: print("Switch 1 pressed") time. sleep(0.1) # You need to figure what to add to scan the other switches Verify that your program responds quickly to button presses and has a low false reading rate. . : . Gad Bat BE adatrol 74HC153
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
