Difference between revisions of "Switch/ru"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "===Статус устройства (2 байта)===")
(Created page with "{|class="wikitable" !Номер байта!!Описание |0||0xFF – отпускание клавиши<br>0xFD – удерживание клавиши<br>0хFC – н...")
Line 9: Line 9:
  
 
{|class="wikitable"
 
{|class="wikitable"
!Byte number!!description
+
!Номер байта!!Описание
|0||0xFF – releasing the key<br>0xFD – holding the key<br>0хFC – keystroke
+
|0||0xFF – отпускание клавиши<br>0xFD – удерживание клавиши<br>0хFC – нажатие клавиши
|1||Time of holding the key (1 each = 128 msec)
+
|1||Время удержания клавиши (1 каждая = 128 мс)
 
|}
 
|}
  

Revision as of 11:55, 26 January 2022

Other languages:
English • ‎русский

Пример описания в XML

1<item type="switch" addr="125:1" name="№1"/>

Статус устройства (2 байта)

Номер байта Описание 0 0xFF – отпускание клавиши
0xFD – удерживание клавиши
0хFC – нажатие клавиши
1 Время удержания клавиши (1 каждая = 128 мс)

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