After successfully playing around and experimenting with the Neopixel, I got the hang of how it works. I now had to put it into use in our prototype.
I cut out and resoldered three LEDs and connected them to digital pin 13. Then in the code I had to fix the number of the amount and put everything into a dedicated function Leds() to be called from the main loop() function.
Now everytime the capacitive cables are touched a LED corresponding to it will light up to signal that it is on “HIGH”.
Leave a comment