User guide

16 HDMI5 Component Video Switch
Response String:
=P n
Where:
n = Current power status.
Output Mapping
Maps the HDMI5’s output to a selected input.
O in Set output to input ‘in’.
O + Sequence through inputs.
O ? Query for current setting.
O Query for current setting.
Response String:
=O in
Where:
in = Current input being mapped to the HDMI5’s output.
Front Panel Light Intensities
Set the dim and bright levels of the front panel LEDs. Some examples:
LI mode,dim,bright Set the MODE, DIM and BRIGHT levels.
LI mode,dim,bright,$ Set the MODE, DIM and BRIGHT levels, backup settings.
LI ,dim Set only the DIM level.
LI ,,bright Set only the BRIGHT level.
LI ? Query for current settings.
LI Query for current settings.
Response String:
=LI mode,dim,bright
Where:
mode = Current MODE setting.
dim = Current DIM level setting.
bright = Current BRIGHT level settings.
HDMI5 Command Ref. (Contd)
13HDMI5 Component Video Switch
int main( void)
{
char TestString[] = "LI 2,3";
unsigned char crc8;
int index;
char token = ':';
crc8 = CRC8_INIT; // initialize checkcode
// CRC8 all of TestString[]
index = 0;
while (TestString[index] != 0)
crcByte( &crc8, TestString[index++]);
// Add the CRC-8 token character ':' to CRC-8
crcByte( &crc8, token);
// Finish with CRC8 by doing a one's compliment
crc8 = ~crc8;
// Print the results
printf( "%s%c%u", TestString, token, (unsigned char)crc8);
return (0);
}
Checksums and CRC-8’s (Contd)