Hello,
Before purchasing I want to be sure it is possible to detect whether a key has been pressed once or twice (in a short time) or to make the difference between a short and a long press? Can anyone tell?
Thanks!
QZ
question about 16x2 character lcd + keypad
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
-
- Posts: 19
- Joined: Thu May 15, 2014 11:42 am
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: question about 16x2 character lcd + keypad
That is not something that the hardware handles for you. You must do that in software, in your code. The library we provide will simply poll the buttons on your command, and tell you the current state.
-
- Posts: 19
- Joined: Thu May 15, 2014 11:42 am
Re: question about 16x2 character lcd + keypad
OK, this is fine! Thanks!
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/