Hi. Is there a way to check if a key is pressed while in setup function?
I'm using a 4*4 keypad.
Using if keypressed didn't work, so i tried to read the state of pins used for the keypad (so if a state is HIGH i can say a key is pressed).
When checking the states with digitalRead(), i get 1,1,1 and 1 for rows and fluctuating values of columns (i can get 0,0,0,0 ; 0,1,1,0; or even 1,1,1,1 without pressinng any key).
So i can't see how can i check if a keypad is pressed while in setup function.
Any ideas? thanks.