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/
Locked
quamenzullo
 
Posts: 19
Joined: Thu May 15, 2014 11:42 am

question about 16x2 character lcd + keypad

Post by quamenzullo »

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

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: question about 16x2 character lcd + keypad

Post by adafruit_support_rick »

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.

quamenzullo
 
Posts: 19
Joined: Thu May 15, 2014 11:42 am

Re: question about 16x2 character lcd + keypad

Post by quamenzullo »

OK, this is fine! Thanks!

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”