getMotorCurrent

open fun getMotorCurrent(port: Int): Int

Returns the current being drawn by a motor

Return

Returns motor current in milliamps

Parameters

port

Port of the motor