Back to Parent

Process

Following along with the simple internet appliance document, I began with connecting a single LED to blink based on code in my particle build, then adding a second to learn how to control two. Once this was functioning, I connected the LED to cloud so that it could be controlled across my particle console sandbox. Here I also began with one LED to respond at HIGH or LOW being called, added a blinking pattern, and tried again with two LEDS. However when trying to control two, I came across an issue where when called on HIGH, the lights would blink but only for one cycle. Since I wanted this to last longer as a consistent loop until LOW was called to stop it, I turned to GPT for help in understanding a solution to edit my code. Here I learned about using a global boolean variable that can be used to control the behavior of my LEDS in my code later under the loop with an if else statement.


Content Rating

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

0