did you grounded keypad and set the port.....
---------- Post added at 21:53 ---------- Previous post was at 20:37 ----------
#include <AT89X51.H> //Include file for 8051
#define keyport P2 //keypad connected to P2
#define col1 P2_0 //column 1
#define col2 P2_1 //column 2
#define col3 P2_2 //column 3
#define col4 P2_3 //column 4
there is some start lines of the program will it work on kiel....
because i dont know any thing about c based programing.
Last edited: