For decoding I'm using cheap Si diodes like 1N4148:
Key press is sensed via PORTB change interrupt, and TIMER2 is used for a 20 msec debouncing.
Only one key can be pressed at a time, then it must be released.
I have written a demo program to demonstrate the concept:
Attached is a ZIP with the basic source, the HEX file and the DSN.
Sorry, but I'm using assembly snippets so for recompiling use Proton 3.5.0.6 (max).
Greetings
zuisti


Menu
Recent Articles


Using PDS with SPI GLCD based on ST7565R Controller
Graphic LCDs based on the ST7565 are cheaper then GLCDs with other controllers. SPI requires only four pins. If the circuit