??? 05/16/07 09:29 Read: times |
#139314 - So where's the problem? Responding to: ???'s previous message |
Denis B said:
i want to push keypad, and to see address and data on lcd...
for writing to xdata register.... So where is the problem: Denis B said:
keypad is working... so you know how to get the keypresses Denis B said:
lcd is worling... so you know how to display data SO where is the problem?? If you want to use scanf, then you will have to read your compiler Manual to find out how to get it to use the keypad; If you want to use printf, then you will have to read your compiler Manual to find out how to get it to use the LCD. It's as simple as that! If you don't want to use the standard library functions (and avoiding scanf is probably a good idea), then you probably want to start by writing a function to read a single keypress from the keypad, and a function to write a single character to the LCD. You then build on these to make functions to read a complete number from the keypad, and functions to write numbers, strings, etc to the LCD... |