Exemple #1
0
void main()
{
	int i;
	Lcd4_init();                                  
  while(1)
  {                                   
    Lcd4_Set_Cursor(1,1);
	  Lcd4_Write_String("Computronics Lab LCD Example");
	  	  Delay(5000);
	
		for(i=0;i<18;i++)
		{
		  Delay(1000);
			Lcd4_Shift_Left();
		}
		
		for(i=0;i<18;i++)
		{
			Delay(1000);
			Lcd4_Shift_Right();
		}
		//Lcd4_Clear();
		//Lcd4_Set_Cursor(2,1);
		//Lcd4_Write_Char('H');
		//Lcd4_Write_Char('I');
		//Delay(2000);
  }
}
Exemple #2
0
void main() 
{
    int i;
    Lcd4_Init();
    Lcd4_Clear();
    while (1) 
    {
        Lcd4_Set_Cursor(1, 0);
        Lcd4_Write_String("Pill Dispenser 2");
				delay(100);
				
//        save();
//        Read();

    }
}