Back to Parent

Outcome


Show Advanced Options
  • Outcome: 
The demo of all functions is shown here: 

https://www.youtube.com/watch?v=E6DVSmeX8k8.

  • Process:
I followed the instructions on the course website: Build the circuit and then code correspondingly. The first challenge is to figure out how to "blink". This function is realized by adding delay between two calls of "high" and "low". The second thing that I spent much time on is learning Particle's syntax. After knowing how to create a for loop in Particle, the problem of  "blink as many times as you wish" is solved. Lastly, it took me much time to adapt codes that I wrote for a single LED to multiple ones. By adding a second LEDpin and creating a function to alter the value of LEDpin, I can switch smoothly between the two LEDs. 


  • Next Steps
I think there should be a simple configuration of my current circuit but don’t know how to do. I also need to get more familiar with uasges of Particle IDE since I haven’t learned this kind of coding language before.


  • Reflection: 
Adding a component to the original circuit is not hard for me. But when the situation is that the LED can't blink when you call, you have to debug both code and circuit and this is so troublesome and frustrating. The confidence you have for your circuit is ruined and you have to test back and forth. Also, since I am not familiar with this coding environment, I stuck by initializing a global variable. This wastes so much of my time.  
Show Advanced Options
Img 0501.thumb
Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.