Blanking command

General discussion of using Roboclaw motor controllers
Post Reply
User avatar
Basicmicro Support
Posts: 1592
Joined: Thu Feb 26, 2015 9:45 pm

Re: Blanking command

Post by Basicmicro Support » Tue Sep 03, 2019 10:16 am

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

Post Reply