3 Float/Reed Switches Controlling a 16 Pixel RGB LED Ring via UNO Answered
My latest project is for a level indicator on my chicken coops water supply. I am using an Arduino UNO, 3 reed float switches and a 16 pixel RGB LED Ring (adafruit Neopixel). I have the switches at 3 different positions in the water tank. I am wanting to light the RGB LED ring a different colour depending on which switch is closed. The bottom one red, the middle orange and when at the top, green.
I have the LED ring working. I also can have the switch working on its own. But not controlling the LED.
I have no idea what to do next. I am thinking that i need to get the switch turning the LEDs on. Then I can start thinking about using all three at once.
I am hoping someone can help? It seems a simple task for the arduino to do but I am very new at this so I'm struggling a little bit.
Thank you all in advance.