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