setRPM

fun setRPM(rpm: Double)

Sets the velocity of the motor in revolutions per second.

Parameters

rpm

the revolutions per second to set