Question: A friend enters the code shown below into the mbed compiler, but when compiling, a number of errors are flagged. Find and correct the faults.

A friend enters the code shown below into the mbed compiler, but when compiling, a number of errors are flagged. Find and correct the faults. 

#include "mbed"
Digital Out myled(LED1);
int man() {
white(1) {
myled = 1;
wait(0.2)
myled = 0;
watt(0.2);
}

Step by Step Solution

3.29 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

It seems like there are a couple of errors in your friends code The mbed software will not recognize ... View full answer

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 Systems Analysis And Design Questions!