Question: Code the following based on Pseudo-code. Do the commands between here and the Loop statement over and over again Display the value of IN3 in

Code the following based on Pseudo-code.

Do the commands between here and the Loop statement over and over again

Display the value of IN3 in the Debug Terminal

If the value of IN3 is 1,

Then Turn the LED on Wait for 1/40 of a second

Turn the LED off

Wait for 1/40 of a second

Else, (if the value of IN3 is 0) do nothing, but wait for the same amount of time it would have taken to briefly flash the LED (1/10 of a second).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!