![]() ![]() What am I doing wrong? #include ĬapacitiveSensor cs_4_8 = CapacitiveSensor(4, 8) // 1M resistor between pins 4 & 8, pin 8 is sensor pin, add a wire and or foilĬs_4_8. I2C interface, with IRQ output to advise. I have made some progress since my last post, but the led strip flickers when pressed and doesn't turn on/off half of the time. Separate touch and release trip thresholds for each electrode, providing hysteresis and electrode independence. Inside the switch there are moving parts. For the user, it might seem that the contact is made instantly. ![]() My code is basically to use a capacitive touch sensor as a switch to turn on and off an LED strip. What is switch bounce When you push a button, press a mico switch or flip a toggleswitch, two metal parts come together.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |