Hi everybody,
I'm trying to make some touch sensor to control some LED's. Tried the code in Arduino Nano/Uno/Mega, everything fine. My issue though happened when i wanted to make it work on Attiny 3217. I'm using the CapacitiveSensor Library, and after looking at the header file there is no definition for the Attiny 3217.
i did tried it on the Attiny3217 but for some reason its not working properly(i don't get any error after compiling), the reading values are 0.
But i used another library which i found on Github : GitHub - moderndevice/CapSense: Simple Capacitive Sensing for Arduino and AVR microcontrollers.
it works with it, the only thing is that it is more noisy, the values peak a lot compared to the other library (test made on arduino nano), but i guess with an average function it should be ok.
I'm still interested though, to know why the CapcitiveSensor library is not working properly.