12
MANDATORY ANNEX 2
INDICATION ARRAY STRUCTURE
The indication array is 64 bytes long. Each byte carries information on the state of 4
indication LEDs, 2 adjacent bits per 1 LED. The state is described as follows:
00- LED is off;
01- LED is on with low brightness;
10- LED is on with full brightness.
11- LED is blinking with full brightness.
One byte code corresponds to every LED in the device. The higher 6 bits of that code
determine the byte in the indication array, whilst the remaining 2 bits determine the
positions of the pair bits describing the state in that byte.
For example:
1.
set the bits 7 and 6 as '10' in the byte 10;
2.
set the bits 1 and 0 as '11' in the byte 15;
3.
set the bits 3 and 2 as '01' in the byte 15;
4.
set the remaining bits in all the bytes of the array as '0';
5.
It will in turn the LED with code 0x2B at the full brightness and turn the LED with
code
0x3C into the blinking mode, turn the LED with code 0x3D on at the low brightness
and turn the remaining LEDs off.