WK2x01: subprotocols addition

WK2801 number 0, 8 channels, fixed id is not supported
WK2401 number 1, 4 channels
W6_5_1 number 2, 6 channels
W6_6_1 number 3, 7 channels
W6_HEL number 4, 6 channels, option is used to limit COL
W6_HEL_I number 5, 6 channels, COL inverted, option is used to limit COL
This commit is contained in:
pascallanger
2017-01-03 19:56:20 +01:00
parent fbb919d767
commit 8677e73d75
4 changed files with 24 additions and 16 deletions

View File

@@ -178,8 +178,11 @@ enum FY326
enum WK2x01
{
WK2801 = 0,
WK2601 = 1,
WK2401 = 2,
WK2401 = 1,
W6_5_1 = 2,
W6_6_1 = 3,
W6_HEL = 4,
W6_HEL_I= 5,
};
#define NONE 0
@@ -545,8 +548,11 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
FY319 1
sub_protocol==WK2x01
WK2801 0
WK2601 1
WK2401 2
WK2401 1
W6_5_1 2
W6_6_1 3
W6_HEL 4
W6_HEL_I 5
Power value => 0x80 0=High/1=Low
Stream[3] = option_protocol;