|
Anyone here have luck interfacing the 68hc11 with a keypad with pure assembly code? (code written for both detecting and debouncing) |
|
|
|
> 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. __________________________________ |
|
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: |