Question: Task is to be done in thinkerCAD Problem 5. Controlling a digital output with a digital input (10 points) Wire up a switch as an
Task is to be done in thinkerCAD

Problem 5. Controlling a digital output with a digital input (10 points) Wire up a switch as an input and an LED as an output, similar to the following III OT 13 12 AREF GND -11 DIGITAL (PWM-> TX+1 RX+0 OO UNO TX ION RX ARDUINO . - - 1 - - - - PC WER ANALOG IN IOREF RESET 3.3V Task 5.1: Write code to read the value of the switch each time in the loop function, just as in Problem 4, and set the on/off state of the LED accordingly. Turn in a copy of your code and a screenshot of (1) the switch in the off position and the LED off and (2) the switch in the on position and the LED on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
