Programming freetronics shield LCD 16x2


hi there,

i bought freetronics shield lcd 16x2. first time use it. found test code on

http://www.freetronics.com.au/pages/16x2-lcd-shield-quickstart-guide#.vszckcnngju

i trying modify , create simple games using buttons. code starts printing

bunch of statements reasonable delay time  allow user read it. want ask

the user push buttons , if correct button pressed lcd

will display "correct" otherwise "error" , more questions later user , user can use

the buttons answer them.

it quite simple , straight forward. guess need "if" statement unknown reason

to me code keeps skipping "if" statement thought stop until answer given

weather right or wrong.

am missing something?


thanks in advance help

cheers,
mourad

then want ask user push buttons , if correct button pressed lcd display "correct" otherwise "error" , more questions later user , user can use buttons answer them.
so want kind of "state change detection" buttons on lcd keypad shield, , function uses block code execution @ point until button pressed user?

and of 'questions' can answered in multiple choice test pressing 1 out of 5 buttons single press of 1 button?


Arduino Forum > Using Arduino > Programming Questions > Programming freetronics shield LCD 16x2


arduino

Comments