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