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; } }
void PrintLine2(char * text) { ClearLine2(); SecondLine(); delay(10); Show((unsigned char*)text); }
void printLine2(char * text) { SecondLine(); delay(10); Show((unsigned char*)text); }