- ID: sainsmartks
- Name: LCD Keypad Shield
- Category: display
- Manufacturer: sainsmart dfrobot sparkfun
- Link: http://www.sainsmart.com/sainsmart-1602-lcd-keypad-shield-for-arduino-duemilanove-uno-mega2560-mega1280.html
- Link: http://www.dfrobot.com/index.php?route=product/product&product_id=51
- Link: https://www.sparkfun.com/products/13293
- Connection: gpio analog
The Sainsmart LCD Keypad Shield uses 6 digital outputs and 1 analog input (for the keypad). The outputs are used to drive an attached LCM1602 LCD controller. This driver should also be compatible with the similar LCD keypad shields from DFRobot and Sparkfun.
As this is a shield, you will not likely have any choice over the pins that are used. For this reason, we provide defaults for all of them b of course they can be changed if your device is different.
register select pin
data 0 pin
data 1 pin
data 2 pin
data 3 pin
analog pin of the keypad
returns the floating point representation of the key that is being pushed. Each key produces a different value between 0.0 and 1.0, and only one key can be read at a time.
the floating point value representing a key