Back to Parent

Exercise 3

Go back to the original program. Now add a second LED to the circuit.

Change the program and cloud function to allow you to control both LEDs remotely.

I use two cloud function here - 

  1. The cloud function to select which LED we want to control by typing in the pin number;
  2. The cloud function of LED control, the same as the above exercises.

I also use a cloud variable to show on the console what the current LED selected is. The outcome is shown in the video.


Content Rating

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

0