void lcdWriteData(unsigned char dData) { P0 = 0; lcdWaitNotBusy(); RS = 1; RW = 0; P0 = dData; EN = 1; delay(DELAYSHORT); EN = 0; RW = 1; } /* lcdWriteData */
void lcdWriteData(unsigned char dData) { lcdWaitNotBusy(); EN = 0; RS = 1; // Select Data mode RW = 0; // Set to Write PORT_LCD = dData; // Send data to LCD module EN = 1; delay(DELAYSHORT); EN = 0; RW = 1; } /* lcdWriteData */
void lcdWriteCmd(unsigned char cmd) { lcdWaitNotBusy(); RS = 0; RW = 0; EN = 0; P0 = cmd; EN = 1; delay(DELAYSHORT); EN = 0; RW = 1; RS = 1; } /* lcdWriteCmd */
void lcdWriteData(unsigned char dData) { lcdWaitNotBusy(); EN = 0; RS = 1; RW = 0; DATAPORT = dData; delay(DELAYSHORT); EN = 1; delay(DELAYSHORT); EN = 0; RS = 1; RW = 1; } /* lcdWriteData */
void lcdWriteCmd(unsigned char cmd) { lcdWaitNotBusy(); EN = 0; RS = 0; // Select Command mode RW = 0; // Set to Write PORT_LCD = cmd; // Send command to LCD module EN = 1; delay(DELAYSHORT); EN = 0; RW = 1; RS = 1; } /* lcdWriteCmd */