/* Reset the PTC08 device. 
Send reset Command to the PTC08 device. */
xtBoolean PTC08PhotoReset(void)
/* Reset the PTC08 device. 
Send reset Command to the PTC08 device. */
xtBoolean PTC08PhotoReset(void)
{
    unsigned long i;
    unsigned char ucTmp[4];
    UARTBufferPut(PTC08_UART, (unsigned char *)&ucResetCmd[0], 4);
    if (!UARTBufferGet(PTC08_UART, ucTmp, 4)) 
    {
        return xfalse;
    }
    for (i = 0; i < 4; i++)
    {
        if (ucTmp[i] != ucResetRcv[i]) 
        {
            return xfalse;
        }
    }
    return xtrue;}