hi i pulling almost my hairs out i have a lcd shield and the buttons on that works fine.
BUT i want a extra button that does the same action as on of the shield buttons
i thoucht i use pull_up and voila but i can get it going..
Keypad_value = analogRead(keypad_pin);
if(Keypad_value < 100)
return 'R';
else if(Keypad_value < 200)
return 'U';
else if(Keypad_value < 400)
return 'D';
else if(Keypad_value < 600)
return 'L';
else if(Keypad_value < 800)
return 'S';
else
return 0;
i just want a external (extra) "S" button
how do i do that?
im not a genius at programming so mabe someone can help me..
grtz Edwin