Exercise 1
Modify the program to Blink on and off every 3 seconds.
Hint: You only need to make two changes. Read the comments to see where.
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.
In the first three exercises, I got familiar with the circuit, and the particle platform. I learned how to distinguish while loop and for loop with the help of Jaki.
In the last three exercises, I explored the Particle.function in this exercise, and also learned "int number = atoi(command);" to convert string to int.
When editing this page, I failed to upload the videos. It all turned into white blocks which I can't delete. I finally figure out this problem by uploading the video via Youtube:)
You can upload files of up to 20MB using this form.