Gocator API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
kStatus GoSensor_ResetEncoder ( GoSensor  sensor)

Resets the encoder value.

NOTE: This is only possible with a direct encoder connection to a sensor. Resetting the encoder value when connected to a Master device will not work.

Parameters
sensorGoSensor object.
waitkTRUE to wait for reboot and then reconnect.
Returns
Operation status.