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
It seems like there are a couple of errors in your friends code The mbed software will not recognize ... View full answer
Get step-by-step solutions from verified subject matter experts
