Changes

Jump to navigation Jump to search
1,816 bytes added ,  09:53, 20 August 2021
Created page with "===Example of description in XML=== <syntaxhighlight lang="xml" line> <item type="switch" addr="125:1" name="№1"/> </syntaxhighlight> ===Device status (2 bytes)=== {|clas..."
===Example of description in XML===

<syntaxhighlight lang="xml" line>
<item type="switch" addr="125:1" name="№1"/>
</syntaxhighlight>

===Device status (2 bytes)===

{|class="wikitable"
!Byte number!!description
|0||0xFF – releasing the key<br>0xFD – holding the key<br>0хFC – keystroke
|1||Time of holding the key (1 each = 128 msec)
|}

===Possible variants of setting the status of LED===

{|class="wikitable"
|-
!byte!!description
|-
|0||0 – R<br>1 – G<br>2 – Y<br>3 – OFF<br>4 – R/OFF 0.25 sec<br>5 – G/OFF 0.25 sec<br>6 – Y/OFF 0.25 sec<br>7 – OFF<br>8 – R/OFF 0.5 sec<br>9 – G/OFF 0.5 sec<br>10 – Y/OFF 0.5 sec<br>11 – OFF<br>12 – R/OFF 1 secv13 – G/OFF 1 sec<br>14 – Y/OFF 1 sec<br>15 – OFF<br>16 – R/OFF 2 secv17 – G/OFF 2 sec<br>18 – Y/OFF 2 sec<br>19 – OFF<br>20 – R/G 0.25 sec<br>21 – R/G 0.5 sec<br>22 – R/G 1 sec<br>23 – R/G 2 sec<br>24 – R/Y 0.25 sec<br>25 – R/Y 0.5 sec<br>26 – R/Y 1 sec<br>27 – R/Y 2 sec<br>28 – G/Y 0.25 sec<br>29 – G/Y 0.5 sec<br>30 – G/Y 1 sec<br>31 – G/Y 2 sec
|}

===Possible variants of setting the status of inverted LED===
{|class="wikitable
|-
!byte!!description
|-
|0||0 – G<br>1 – R<br>2 – Y<br>3 – OFF<br>4 – G/OFF 0.25 sec<br>5 – R/OFF 0.25 sec<br>6 – Y/OFF 0.25 sec<br>7 – OFF<br>8 – G/OFF 0.5 sec<br>9 – R/OFF 0.5 sec<br>10 – Y/OFF 0.5 sec<br>11 – OFF<br>12 – G/OFF 1 sec<br>13 – R/OFF 1 sec<br>14 – Y/OFF 1 sec<br>15 – OFF<br>16 – G/OFF 2 sec<br>17 – R/OFF 2 sec<br>18 – Y/OFF 2 sec<br>19 – OFF<br>20 – G/R 0.25 sec<br>21 – G/R 0.5 sec<br>22 – G/R 1 sec<br>23 – G/R 2 sec<br>24 – G/Y 0.25 sec<br>25 – G/Y 0.5 sec<br>26 – G/Y 1 sec<br>27 – G/Y 2 sec<br>28 – R/Y 0.25 sec<br>29 – R/Y 0.5 sec<br>30 – R/Y 1 sec<br>31 – R/Y 2 sec
|}

Navigation menu