Search for question
Question

Exercises: Exercise 1: Write a program that makes the user LED flash twice by following the pattern (ON for 200 ms, OFF for 200 ms, ON for 200 ms, OFF for

2 seconds, and repeat). Exercise 2: Write a program that turns the user LED ON whenever the user push button is pressed, and OFF otherwise. Exercise 3: Using the mbed application shield, write a program that makes the rgb LED blink at 1 Hz frequency with different colors in the following sequence (red five times, green five times, blue five times, and repeat).

Fig: 1