Building a LED status
-
Hi all,
I've build a arduino nano with a RGB LED attached to it, I used the code from one of the projects here to be able to switch the RGB LED to 3 colors RED (pin 1) Blue (pin 2) and Green (pin 3), this is working fine by using my Vera, it sees the three buttons I programmed it in to but I want something more... I would like to have the possibility to whenever I click another color, the other one shuts off, so if it's Red and I click Green, Red turns off and Green pops on. A status would also be nice so you can see in the Vera homescreen which color is activated. Is there anyone that can help me out here with this? My programming skills for Arduino are not that perfect, I normally copy the code and alter what I think is needed but in this case I am a little stuck...
Thanks for reading this topic!
Kind regards
Richard
-
I know 0.00001 about Vera (i know just the name), but i probably can help you light up an RGB LED.
Can you post any code you already have running on an Arduino?
I know there is a S_RGB_LIGHT message in MySensors.. So i guess: it is also known/recognized by Vera.shoot!
Suggested Topics
-
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39 -
Long time test done with soil sensor!
My Project • 7 Jan 2025, 09:13 • Nicklas Starkel 13 Jan 2025, 09:10 -
Radar motion sensor
My Project • 13 days ago • suresh sharma 13 days ago -
Door chime
My Project • 9 Mar 2025, 10:06 • Paul Scarbro 13 Mar 2025, 00:15 -
BMP280 SPI Adafruit
My Project • 24 Aug 2016, 01:56 • Matt 23 Jan 2025, 16:25 -
Water Meter or "How to get Home Assistant to send saved data to an Arduino"
My Project • 18 Oct 2024, 02:19 • OldSurferDude 18 Oct 2024, 02:19