Sign in

username:

password:



Not a member?

Search m68hc11



Search tips

Subscribe to m68hc11



m68hc11 by Keywords

27c256 | 4K81H | 68HC11A1 | 68HC11P1 | 68hc24 | 68HC711E9 | 68HC811 | 8255 | A2D | ADC | ADC12138 | Am85C30 | BRCLR | Buffalo | CMOS | EEPROM | EPROM | Ethernet | EVB | EVBU | HC11E1 | HC11E9 | HC711E9 | Horray | ImageCraft | IRQ | Keypad | LCD | MC68HC11D0FN | MC68HC11E1CFU3 | MC68HC11F1 | MC68HC711E9 | MC68HC711E9CFN2 | Microcore11 | Microstamp11 | Minikit | NVRAM | PSD | PSD8xx | PSD9xx | PT1000 | RS232 | RTS | RXD | SPI | SRAM | TXD | Watchdogs | XIRQ


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | | Keypad interfacing... still.

Keypad interfacing... still. - lotsofquestions02 - Sep 23 7:21:00 2002

Okay, I understand why I have to use port b as an output to drive a
signal to the columns of the keypad, and why I'm using port c as an
input to get the information from the rows. BUT, if I'm waiting for a
particular key to be pressed, how can I poll those ports to see that
it has been pressed?






(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )


Re: Keypad interfacing... still. - Boolean General - Sep 23 8:12:00 2002

Hi lots,

If you have defined THAT hardware, I should add an extra and gate ( inputs
connected to each row and output connected to *IRQ line ). Each time you
press a key, you get an interrupt request.

Regards,
Roberto Guillermo Berner
Boolean General

ICQ 119529928
54 11 4308 3500
54 11 4308 3700
15 5122 6095 ----- Original Message -----
From: "lotsofquestions02" <>
To: <>
Sent: Monday, September 23, 2002 9:21 AM
Subject: [m68HC11] Keypad interfacing... still. > Okay, I understand why I have to use port b as an output to drive a
> signal to the columns of the keypad, and why I'm using port c as an
> input to get the information from the rows. BUT, if I'm waiting for a
> particular key to be pressed, how can I poll those ports to see that
> it has been pressed? > To unsubscribe from this group, send an email to:





(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )

Re: Keypad interfacing... still. - Author Unknown - Sep 23 8:31:00 2002

In a message dated 9/23/02 8:22:13 AM Eastern Daylight Time,
writes:

> BUT, if I'm waiting for a
> particular key to be pressed, how can I poll those ports to see that
> it has been pressed? I write an 'any key pressed' function that turns all the outputs on, then
checks to see if any input is pulled lo... I cant tell which colum its in,
but who cares? Just check to see if a key is pressed every so often.... I'd
say every 50 ms is fast enough (who can key inputs 20 times a sec?) [Non-text portions of this message have been removed]




(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )