setServoPosition

open fun setServoPosition(port: Int, position: Double)

Set the position of a servo

Parameters

port

Port of the servo

position

The position of the servo ranging from 0.0 to 1.0