I am using 8051F226. how can i display? wat i assembly code?
Kool.. Im from NYP too... But I'm sorry... If i give you my program, you will be learning nothing. You need to learn from the tutorial and the "bible" that is in my thread. All i can say is that you need to read the datasheet for the LCD as erik have told me in my thread. You may want to tell me what you don't understand or you could put your code here to show me.
i am from NYP... sorry do u think i can take a look at ur final program?
Yea... Thats works for me though. I'm not sure whether it will works for you. But you can't copy wholesale from the example program. I have modified some parts of the program in order to get it working. Also did you connect your LCD to the development kit correct? Btw, what school do you come from?
thanks....i also new to LCD programming... i also got the program from 8052.com....so u juz edit the delay for ur program and it's working?
Can i help him? =P I managed to get mine working from you guys though.
kevin: refer to this thread...
http://www.keil.com/forum/docs/thread10028.asp
206 and 226 isn't that much different...
i tot potienmeter is to tune the contrast...i did follow the tutorial given...but it still show black screen...
I got through steps 1..5 just fine, but I'm having trouble with step 6. Can you provide more details?
This, you should discuss with your wife, not me :)
Erik
Erik: I got through steps 1..5 just fine, but I'm having trouble with step 6. Can you provide more details?
he just posted parallel www.8052.com/.../read.phtml
I gvuess he wants a fried pigeon to fly in through the window
Maybe this C implementation helps:
http://www.keil.com/appnotes/docs/apnt_161.asp
do i need to modified something??? if i follow the tutorial given...
Exactly what "what should i do to set the port" mean? You really have to be more specific.
actually i follow the tutorial given but it still cannot work.. what should i do to set the port...i am using a 14 pin LCD display..
You might also want to check out the Application Notes on this very site - there's stuff about LCDs for the 8051.
See also: www.8052.com/tutlcd.phtml www.8052.com/tutlcd2.phtml
And check the SiLabs site - surely they must have examples?
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