#include"LCD.h"
void setup() {
  volatile char str1[]="Welcome to",size1=12,str2[]="ECEN academy",size2=12; // word and size
  volatile char mode=0,line1=1,line2=2,mid=0xce;
  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
   /*
   Displaying “Welcome to" on line1. Rotate line1 left to right
 Continuously and “ECEN Academy” on line2 in Middle.
   */
   while(1)
   {
  DLP_str_left_To_right(str1,size1,str2,size2,line1,mid);// str = first address,size= String length
}
}
void loop() {
}