FEASA LED ANALYSER
ICT VERSION
Synchronous Serial Mode
Read Hue, Saturation and Intensity (HSI)
This command will instruct the LED Analyser to output the Hue, Saturation and Intensity of a
LED. All the LED data should have been previously captured.
The code for this command is 0x20 – this must be transmitted to the LED Analyser followed by
the Fiber Number of the LED to be tested. The Fiber Number is a hexadecimal number in the
range 0x01 – 0x14 (in decimal this represents numbers 1 -20). The Analyser will return 6
bytes of data – 2 bytes for Hue, 1 byte for Saturation and 3 bytes for Intensity.
Command
Data Transmitted
Data Received
Read HSI
0x20 + fiber num (1byte)
Hue(2bytes) + Sat(1byte) +
Int(3byte)
To convert the Hue data to a decimal number use the formula:-
Hue = (byte1*256 + byte2)/100
The Saturation value will be in the 3
rd
byte and will represent a number in the
range 0 – 100.
Saturation = (byte3)
The Intensity value is output in the last 3 bytes with the most significant byte first.
To convert the Intensity data to a decimal number use the formula:-
Intensity = (byte4 * 65536) + (byte5 * 256) + byte6
Note:- The data output in all the bytes are hexadecimal numbers.
45