vead
Full Member level 5
- Joined
- Nov 27, 2011
- Messages
- 285
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- india
- Activity points
- 3,815
My dear friend, I appreciate help offer by people I also don't have much knowledge of 8051. I was asking where to connect keypad and Lcd to port of 8051.Now to your code. People have been telling you that you cannot separate your code from the hardware but you seem to have been ignoring this.
You have also not really told us what the problem is that you are having other than nothing appears on the LCD which you have immediately assumed is a fault with the keypad function. In your code (at least the code you have shown) My advice is to get one thing running at a time. Perhaps start with the LCD and make sure that it is actually displaying some characters. Then add in a single button press (with debounce) to understand how that works. Then work up to the keypad.
Susan
I wrote the code for Lcd. I was printing message on screen. then I wrote code to display message if the push button press. and wrote other program's i have idea about Lcd. I am stuck in keypad
I am just asking two question
Q1. Where to connect LCD and keypad to port of 8051
Q2. How to make good keypad function that would return 0 to 15 characters.