The thing is, when i want to use push buttons i have this options:
I configure the arduino pins to OUTPUT mode - this avoid me to use pull up\down resistors (which i prefer to use)
I configure the arduino pins to INPUT mode - this force me use pull up\down resistors (meh)
So the problem is, I'm not able to use the OUTPUT mode technique because these rubber buttons are more resistant than the internal resistors of the Atmega when i configure them to OUTPUT, so it will always tell me that i'm not pressing the button.
And i don't wanto to solder a resistor for each pin,only if i need to, which i think is not the case.
Well, calculators, remote controls, and etc. use this rubber buttons, and there's not resistor for each button, they only use a matrix connected to the IC, so how can i do the same?
Push buttons are input devices. Why would you configure the pins as output devices? Why not simply set the pins to input and enable to internal pullups?
It worked just fine, but i have to revert the value since there's no internal pull down.
One question, can i use this to wake up the atmega on sleep modes?