getEncoderPosition

open fun getEncoderPosition(port: Int): Int

Get the position of an encoder

Return

Encoder position in encoder counts

Parameters

port

Hardware Port