Header file for 4*3 MatrixKeypad

avrguru's picture
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Type: 

Compiler/Assembler: 

This project is done in Atmel M8535 IC. Here the martix key pad is connected to PORTA. The result is diplaied on LCD connected to PORTC.
For LCD you can refer to my LCD header Files Posted in this site.
PORTA.2 for First column check.
PORTA.1 for Second column check.
PORTA.3 for Third column check.
Except DDRA.0...3, rest of the pins are input.
DDRA=0x0F
Hereby i am posting all the files required.....(.asm,.c,.h).

Attachment(s):