Blanking command

General discussion of using Roboclaw motor controllers
Post Reply
Posts: 7
Joined: Sat Mar 03, 2018 11:26 am

Blanking command

Post by Melmarkt » Fri Aug 30, 2019 6:33 am

Hello !

Did there is a way to set/get the current blanking ratio, with Python commands ?

User avatar
Basicmicro Support
Posts: 1366
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

percent to binary percent = 32768*percent
binary percent to percent = binary percent/32768

Post Reply