Back to Parent

  • Setup: Initializes the system, registers the Particle function, and starts the LEDs.
  • Loop: Continuously checks the status of the event flags and decides whether to run a normal cycle (blueCycle) or respond to an event (fadeToRed).
  • newEvent: Triggered by an external command, this function updates flags that influence the behavior in the loop.
  • fadeToRed: This function is called to smoothly transition the LED colors from their current state to red over a specified duration.
  • blueCycle: Regularly cycles through a blue-purple color spectrum unless interrupted by an event.

Content Rating

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

0