Setting speed of Motor module in python library

Which function do i use to set the speed of the motor module in flotilla? what is the range? -10 to 10 or -100 to 100

Thanks in advance

Ahoy, the motor is set using the set_speed method which was broken until @RogueM fixed it today, actually.

The method takes a value from -63 to +63. Slightly odd, but this is the range as understood by the motor driver chip.

To get the fix, you should run:

curl -sS get.pimoroni.com/flotilla | bash

This will ‘refresh’ the git clone initially made by the rockpool (or flotilla) installer if that is what you used initially. If you installed the API by your own method, then ignore, you obviously know enough to roll the change on your system!

hkank you for helping!