Hi all. I have a simple but pussling question.
I have 2 leds. Blue and green. I also have a capacitive sensor with 3 pins. 5vcc, gnd and sensor(gives out a high) The blue led must always be on. When I touch the sensor the blue led must switch off and the green led must switch on. When I do not touch the sensor, the green must switch off and the blue must switch on.
I do not want to use relays and it must be as simple as possible. How can I do this.
Thank you
I have 2 leds. Blue and green. I also have a capacitive sensor with 3 pins. 5vcc, gnd and sensor(gives out a high) The blue led must always be on. When I touch the sensor the blue led must switch off and the green led must switch on. When I do not touch the sensor, the green must switch off and the blue must switch on.
I do not want to use relays and it must be as simple as possible. How can I do this.
Thank you