Function reset

Source
pub fn reset(port: SmartPort) -> Result<(), PROSErr>
Expand description

Resets the Rotation Sensor

Reset the current absolute position to be the same as the Rotation Sensor angle

ยงErrors

Returns PROSErr::NoDev if the port cannot be configured as a Rotation Sensor