Projects › Projects › Problem in LCD text animation › Thanku sir. I have used the
March 13, 2013 at 5:57 pm
#9309
Participant
Thanku sir.
I have used the following code from this site but making a little changes to it in order to get display on both rows of LCD & also shift them towards left.
But once the entire display is shifted to left, it doesnot re-displayes form the right (as in the case of original code to shift the display to right).
Text is displayed when the entire text is at its initial position & then it again starts moving left.
But once the entire display is shifted to left, it doesnot re-displayes form the right (as in the case of original code to shift the display to right).
Text is displayed when the entire text is at its initial position & then it again starts moving left.
// Program to display dynamic text on LCD
#include<reg51.h>
#define msec 50
sbit rs=P3^0; //Register select (RS)
sbit rw=P3^1; //Read write (RW) pin
sbit en=P3^6; //Enable (EN) pin
unsigned char commands[]={0x38,0x0E,0x01,0x06,’