Blanking command
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Blanking command
Currently, those commands have not been added to the Python libraries. The command syntax are:
Set Current Blanking
send: address, 117, percent1(2 bytes), percent2(2 bytes), CRC16(2 bytes)
receive 0xFF
Get Current Blanking
send: address, 118
receive percent1(2 bytes),percent2(2 bytes),CRC16(2 bytes)
Percent1 and percent2 are 15bit binary percents. Range is 0 to 20% which is 0 to 6554
Conversions:
percent to binary percent = 32768*percent
binary percent to percent = binary percent/32768
Set Current Blanking
send: address, 117, percent1(2 bytes), percent2(2 bytes), CRC16(2 bytes)
receive 0xFF
Get Current Blanking
send: address, 118
receive percent1(2 bytes),percent2(2 bytes),CRC16(2 bytes)
Percent1 and percent2 are 15bit binary percents. Range is 0 to 20% which is 0 to 6554
Conversions:
percent to binary percent = 32768*percent
binary percent to percent = binary percent/32768