- This topic has 4 replies, 3 voices, and was last updated 12 years, 8 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › Bug in displaying LCD128*64 using Atmega1280 after reset
Hi, My project includes 128*64 LCD on Atmega1280 kit.LCD displays different options,switch is used to select options and display another set of data accordingly which shows another options again.
Problem is when I Switch OFF and ON the kit, before showing main screen, it flashes last displayed content and then the main screen. I included lcd clear function in all the cases….but not sure why it is displaying so….It happens with above two level of selections..Please help me what changes I need to make.
Hi Suneetha,
It happen because the data displayed last time is still there in the ‘display data registers’ of the 128*64 GLCD module. Usually GLCD module have a reset pin. You can design the circuit so that the GLCD get reset while you press the OFF button. You can also control the reset pin with your code, but I’m not sure it will work out. Better you manually reset the GLCD using a seperate switch.
Please post the part number of the GLCD and your complete circuit, so that somebody can help you more regarding this problem.
Hi Ajish Alfred,
Thanks a lot for your reply.I modified my code and am able to rectify my problem. What made it display previous contents after Power reset is….My initialisation code have chipselect, displayON and then clear LCD function.So after power reset,all those functions are executed making old message appear once.. then clearing the LCD.
Hi Ajish Alfred,
Thanks a lot for your reply.I modified my code and am able to rectify my problem. What made it display previous contents after Power reset is….My initialisation code have chipselect, displayON and then clear LCD function.So after power reset,all those functions are executed making old message appear once.. then clearing the LCD.
My Pleasure. Feel free to update here if you face any further issues with your project.