setMotorBrake

Method to toggle the motor's brakes.

Parameters

brake

Whether to set the motor's brakes to true or false.