We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
A function(used to display something in lcd) cann't work normally for uncertain reasion.But when I put the cotent of it where it is used ,I get all I want.Even strangely ,if I wirte some structions just after this function ,it will also works normally.What's the matter at all?Is this made by the keil51 ? Expecting and thanks for your answer.
Actually, I am not sure what you are talking about :) Nayway... problems with LCDs are usally problems with the timing. LCDs are pretty slow and you have to wait for a long time to make it work properly. Check the datasheet of the LCD controller and ive it some more time.
I use sed1335f as the controller.Actually,when I divide a certain delay into two oness,while the delay function is used two times,LCD will works normally. That means it is not the time delay is not enough,doesn't it?
I use sed1335f as the controller.Actually,when I divide a certain delay into two ones,while the delay function is used two times,LCD will works normally. That means it is not the time delay is not enough,doesn't it?
Hi there! It kinda shows, that the problem originates from an insufficient timing. Maybe your delay function doesn't work properly, maybe the compiler "optimizes" it, so there is not much of a delay. I have also experienced once, that I had to use longer delays than in the datasheet of the display. I would check the assembler code in the list file to assure that the delay is what you want it to be. Take care Sven