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