#include"LCD.h"
void setup() {
volatile char str[]="ECEN ACADEMY",size=12; // word and size
volatile char mode=0,line1=1,line2=2;
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
AutoIncrement(); //auto increment
//displaying " Welcome "
//displaying " ECEN ACADEMY " from left to right
while(1)
{
DLP_left_To_right(str,size,line2);// str = first address,size= String length
}
}
void loop() {
}