User manual
71
Lcd_Out(2,1," Full ");
}
if(count1<0) continue;
}//while(1)
}//main
void introduction(void)
{
unsigned char i;
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,1," WELCOME ");
Lcd_Out(2,1," SELAMAT DATANG ");
delay_ms(2000);
// Move text to the left 16 times
for(i=0; i<16; i++)
{
Lcd_Cmd(_LCD_SHIFT_LEFT);
delay_ms(250);
}
Lcd_Cmd(_LCD_CLEAR);
Lcd_cmd(_LCD_CURSOR_OFF);
}
void displayLCD(int y)
{
char txt[7];
IntToStr(y,txt);
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,7,txt);
Lcd_Out(1,1,"Occupant: ");