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.
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