yonubear
Posts: 90
Joined: Thu Sep 12, 2013 11:11 pm

4x3 keypad?

Tue Dec 31, 2013 4:23 am

ok I know that keypads have been brought up before but I have a question is it possible to have them act as an interrupt when say the * key is pressed as I want to have the system monitoring several sensors so I hate to have a loop running to wait on a keypress.

thanks,
yonu

User avatar
Richard-TX
Posts: 1549
Joined: Tue May 28, 2013 3:24 pm
Location: North Texas

Re: 4x3 keypad?

Tue Dec 31, 2013 4:39 am

Yes. It is called muti-threaded interrupts.

http://raspi.tv/2013/how-to-use-interru ... pio-part-3
Richard
Doing Unix since 1985.
The 9-25-2013 image of Wheezy can be found at:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2013-09-27/2013-09-25-wheezy-raspbian.zip

yonubear
Posts: 90
Joined: Thu Sep 12, 2013 11:11 pm

Re: 4x3 keypad?

Tue Dec 31, 2013 4:42 am

ok thanks wasn't sure if inturrputs would work with a matrix keypad due to the way they are connected.

thanks,
yonu

Return to “General discussion”