void writeString(char * string) { int i = 0; LCDcon |= RS_MASK; for (i = 0; i < 8; i++) { LCD_write_8(string[i]); //send data in the string to be written delayMilli(); } }
void writeDataByte(char dataByte) { LCDCON |= RS_MASK; LCD_write_8(dataByte); delayMilli(); }
void writeCommandByte(char commandByte) { LCDCON &= ~RS_MASK; LCD_write_8(commandByte); delayMilli(); }
void writeDataByte(char dataByte) { LCDCON |= RS_MASK; LCD_write_8(dataByte); __delay_cycles(42); }
void writeCommandByte(char commandByte) { LCDCON &= ~RS_MASK; LCD_write_8(commandByte); __delay_cycles(1698); }