Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
---|---|---|---|---|---|---|
Sync Byte | Address | Command 1 | Command 2 | Data 1 | Data 2 | Checksum |
data1 = data // 256, data2 = data % 256 python3 pelco_d_utils.py --cmd command --data 0 example: python3 pelco_d_utils.py --cmd left --data 10 command is from "support commands", can be lower; data represents data0 and data1 sett: valid range degree -15 ~ 90, corresponding data is 0 ~ 9000, 34500 ~ 36000 setp: valid range degree 0 ~ 180, corresponding data is 0 ~ 18000
data1 = data // 256, data2 = data % 256 ./demo command 0