setPowerRefreshRate

open fun setPowerRefreshRate(@NonNull refreshRate: Measure<Time>)

Set the refresh rate of the motor that will be a minimum time between hardware writes. Consistent calls to setPower is required for this refresh rate to be effective. A commanded power of 0 to the motor will ignore this refresh rate for safety.

Parameters

refreshRate

the refresh rate interval, <=0/default will disable