Back to Parent

Process

Describe the process you underwent to reach the outcome (problems encountered, how you resolved them, as well as, experiments, hacks, tests, refinements, iterations, failures)

Firstly, I was not familiar with the syntax used in Particle, so I searched "for loop" in Particle Docs and found a syntax reference: https://docs.particle.io/reference/device-os/api/language-syntax/control-structures/#for. This was very helpful as it included all basic syntax like if-else condition, operators, loops, and etc.

When I tested my code for version 1 (blinking 3 times before LED on/off), it only blinked once. Then I realized that I did not put delay(500) at the end of the for loop, so the LED was quickly turned off and back on that human eyes could not notice. 


Content Rating

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

0