Back to Parent

Intention

A push button toggles the Neopixel on and off, with an LED indicator showing the switch status. When the Neopixel is off, a yellow LED lights up to indicate it is offline. When the Neopixel is online, it lights up green by default. However, if the startMeeting action is triggered, the Neopixel will change to red.


Process

I've connected the yellow LED to pin D1 and the push button, acting as the switch, to pin D3 in my circuit. I added this manual switch because I realized the Neopixel is too bright when it's on, so I wanted the ability to turn it off manually. The Neopixel is connected to pin MO, ensuring the code functions properly.


Content Rating

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

0