#include"LCD.h"
void setup() {
volatile char FL = 0xc0,str[]="welcome",size=7; // word and size
volatile int mode=0;
init_port();
lcd_Display_Mode(mode); // 8 bit mode =0 or 4 bit mode =1
Display_ON_Cursor_off(); // display on cursor off
display_clear(); //clear lcd data
AutoDecrement(); //auto increment
while (1)
{
DLP_right_To_left(str,size);// displaying " Welcome from left to right"
}
}
void loop() {
}