Making a Connected LED
Exercise 1:
Modify the cloud function to blink the LED 3 times after it is called
Exercise 2:
Modify the cloud function as follows:
Instead of passing a HIGH
Or LOW
string pass the number of times you would like it to blink
Set the function to blink that number of times
Finally once it has completed all of the blinking it should turn the LED off
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
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .