Originally Posted by
Mostafa
hi all
i am a beginner in using Graphical LCDs.
look at my program!
in line 82 , when i write for example: DAT = 55 , then proteus produce this warning: "[KS108B] Attemped a write operation while busy flag is set". but when i write for example: DAT = sin(j) then proteus doesn't produce that warning.
where is the bug of my code?
best regards, Mostafa
I have Proteus but have never used the simulator.
Real smoke is far more exciting than virtual smoke
Just hazarding a guess but I suspect that the spice model for the LCD is setting the busy flag when you write something to the display and it then expects you to check the flag and wait for it to go clear before sending the next data.
Have you got any code in your program to check the status of the flag and wait for it to be clear before sending.
I have only worked with alphanumeric LCD displays using LCDout and I suspect that takes care of all the background tasks.
Keith
www.diyha.co.uk
www.kat5.tv
Bookmarks