Ejemplo n.º 1
0
void SendData(char* message)  //Accepts a message and writes it to the LCD.
{
  int index = 0;
  while (message[index]!=0x00)
  {
    if(index==0)
    {
     ResetDisplay();
    }
    if(index==16) //16 characters fit on a line
    {
      SecondLine();
      Delay(30000);
    }
    
    Write();
    Data();
    PORTK.portk = message[index];
    BusyCheck();
    
    Toggle();
    
    ++index;
  }
}
Ejemplo n.º 2
0
void PrintLine2(char * text)
{
	ClearLine2();
	SecondLine();
	delay(10);
	Show((unsigned char*)text);
}	
Ejemplo n.º 3
0
void printLine2(char * text)
{
	SecondLine();
	delay(10);
	Show((unsigned char*)text);
}