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 | | luck with pure software


Advertise Here

luck with pure software - eileeniicg - Nov 7 23:05:00 2003

Anyone here have luck interfacing the 68hc11
with a keypad with pure assembly code?
(code written for both detecting and debouncing)



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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


RE: luck with pure software - Calamity Jane - Nov 8 5:35:00 2003

> Anyone here have luck interfacing the 68hc11 with a
keypad with pure assembly code?

It's straight forward. Sample the keypad input in a
timed IRQ loop thats running about 15 mS between loops
and compare to previous input. If you get 3 in a row
the same, it's a valid closure.

Most of my applications do a row/column scan on larger
keypads, detect double closures, roll-overs, detect
and disable stuck key and flag no-key condition as
well.
__________________________________





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

Re: luck with pure software - Robert Smith - Nov 8 10:25:00 2003

Yes, using the SPI to scan.

Do you have a specific question(s)>

Bob

--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "eileeniicg" <>
To: <>
Sent: Friday, November 07, 2003 11:05 PM
Subject: [m68HC11] luck with pure software > Anyone here have luck interfacing the 68hc11
> with a keypad with pure assembly code?
> (code written for both detecting and debouncing) >
> 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 )