Back to Parent

Exercise 3

Add a second LED to the circuit. Change the program and cloud function to allow you to control both LEDs remotely.

Due to the instructions is sort of brief here, I was wondering about how exactly to construct the blinking mechanism. Initially, I planned to use the '+' and '-' keys on the keyboard to control the alternating blinking speed of the two LEDs. However, after attempting this, I realized that user input was only prompted at the start of the program. Consequently, I opted to allow the user to input the blinking interval as a way to alternate the LED flashing.


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0