pkourany / clickButton

A button library that handles multi-clicks, long clicks and click-and-hold
Other
29 stars 22 forks source link

Doesn't work on ATmega8 #14

Closed Hasi123 closed 7 years ago

Hasi123 commented 7 years ago

Hello, I am trying to run your library on a ATmega8 @8Mhz, but it doesn't work. The clicks value for some reason doesn't change.

The exact same code works fine on an UNO board.

Here is my code (just rename it to .ino) Simple_RX5808_controller.ino.txt Using Arduino 1.6.13

Hasi123 commented 7 years ago

Nevermind, the internal pullup didn't work on my button pin. I changed the input pin and now it works perfectly! Thanks for the awesome library!