Please see the LCD Keypad Shield guide:
http://www.freetronics.com/pages/16x2-l ... tart-guide
it gives the analogRead values to expect when the buttons are pushed, and the complex example demonstrates how to have the sketch take actions when buttons are pressed.
However yes, fundamentally you need to read the value from analogue pin zero with analogRead and them make decision based on the value returned.
The LCD and Keypad Shield gives you a handy 16-character by 2-line display, 5 buttons and a controllable backlight.
1 post • Page 1 of 1