Go Down

Topic: New library for LCD & Keypad Shield (Read 30075 times) previous topic - next topic


Dec 11, 2010, 05:13 pm Last Edit: Dec 12, 2010, 01:06 am by fj604 Reason: 1
I made a new library for the LCD & Keypad Shield - it is available from DFRobot.com, nuelectronics.com, ekitszone.com, etc.:




The one recommended to use with these is LCD4Bit_mod, but the standard LiquidCrystal library works just as well with modified pin numbers - use this:
Code: [Select]
LiquidCrystal(8, 9, 4, 5, 6, 7)

This library inherits LiquidCrystal and adds another method: button - to read button pushed on a keypad.

I have also included an example - a simple number guessing game that you can play with the Up, Down and Select buttons.

Download the library here:

LCDKeypad.zip - 2.7 KB

Any comments will be appreciated.



Does anyone have a copy of this? The link is dead.

Go Up