PosConCM.set_precision

PosConCM.set_precision(precision)[source]

Defines the precision the sensor will use to determine edges:

Value

Precision

Function values

0

Standard

Median=off, Moving Average=off

1

High

Median=7, Moving Average=16

2

Very High

Median=15, Moving Average=128

Parameters:
precisionint

Sensor precision to use.

Notes

The higher the precision, the slower the measurement gets.