Example of description in XML
1<item type="switch" addr="125:1" name="№1"/>
Device status (2 bytes)
Byte number | description | 0 | 0xFF – releasing the key 0xFD – holding the key 0хFC – keystroke |
1 | Time of holding the key (1 each = 128 msec) |
---|
Possible variants of setting the status of LED
byte | description |
---|---|
0 | 0 – R 1 – G 2 – Y 3 – OFF 4 – R/OFF 0.25 sec 5 – G/OFF 0.25 sec 6 – Y/OFF 0.25 sec 7 – OFF 8 – R/OFF 0.5 sec 9 – G/OFF 0.5 sec 10 – Y/OFF 0.5 sec 11 – OFF 12 – R/OFF 1 sec 13 – G/OFF 1 sec 14 – Y/OFF 1 sec 15 – OFF 16 – R/OFF 2 sec 17 – G/OFF 2 sec 18 – Y/OFF 2 sec 19 – OFF 20 – R/G 0.25 sec 21 – R/G 0.5 sec 22 – R/G 1 sec 23 – R/G 2 sec 24 – R/Y 0.25 sec 25 – R/Y 0.5 sec 26 – R/Y 1 sec 27 – R/Y 2 sec 28 – G/Y 0.25 sec 29 – G/Y 0.5 sec 30 – G/Y 1 sec 31 – G/Y 2 sec |
Possible variants of setting the status of inverted LED
byte | description |
---|---|
0 | 0 – G 1 – R 2 – Y 3 – OFF 4 – G/OFF 0.25 sec 5 – R/OFF 0.25 sec 6 – Y/OFF 0.25 sec 7 – OFF 8 – G/OFF 0.5 sec 9 – R/OFF 0.5 sec 10 – Y/OFF 0.5 sec 11 – OFF 12 – G/OFF 1 sec 13 – R/OFF 1 sec 14 – Y/OFF 1 sec 15 – OFF 16 – G/OFF 2 sec 17 – R/OFF 2 sec 18 – Y/OFF 2 sec 19 – OFF 20 – G/R 0.25 sec 21 – G/R 0.5 sec 22 – G/R 1 sec 23 – G/R 2 sec 24 – G/Y 0.25 sec 25 – G/Y 0.5 sec 26 – G/Y 1 sec 27 – G/Y 2 sec 28 – R/Y 0.25 sec 29 – R/Y 0.5 sec 30 – R/Y 1 sec 31 – R/Y 2 sec |