I am using 8051F226. how can i display? wat i assembly code?
1) read "the bible" to learn the '51 2) read the datasheet for your LCD 3) think about it 4) write the code 5) debug the code 6) live happily ever after
Erik
PS with a 3V3 uC you will need to level convert the output to the 5V LCD, a 74HCT chip powered by 5V does that admirably. The 'ready' which is an input to the uC you can connect direcly.
Now, someone is going to tell you about 5V tolerant outputs and, sure, you can do it with 5V and pullups; however most LCDs are not happy woth the very slow risetimes resulting from such a setup.
The 8051F226 is a 3.3V part.
What type of display are you using?
I know what Eric is trying to say, but you must be aware that some displays don't have a ready output and if they do, in some circumstances (depending upon your application requirements) you might not need to check it.
Try doing a search for some sample code for the specific display type - There is plenty around.
But, please check your details carefully.
View all questions in Keil forum