/* Write 4-bit data or command to the SPLC780D through PCA8574.  */
void SPLC780Write4Bit(unsigned char ucDat)
/* Write 4-bit data or command to the SPLC780D through PCA8574.  */
void SPLC780Write4Bit(unsigned char ucDat)
{
    ucDat = ucDat | ucBacklightState | SPLC780_RW_WRITE;
    xI2CMasterWriteS1(ulMaster, SPLC780_I2C_Addr, ucDat, xfalse);
    xI2CMasterWriteS2(ulMaster, (ucDat | SPLC780_E_ENABLE), xfalse);
    xSysCtlDelay(200);
    xI2CMasterWriteS2(ulMaster, (ucDat | SPLC780_E_DISABLE), xtrue); 
}