recal_threshold_t

Enumeration

recal_threshold_t

Use

A sensor recalibration threshold. This is expressed as a percentage of the sensor detection threshold.

This is for automatic recovery from false conditions, such as a calibration while sensors were touched, or a significant step change in power supply voltage.

If the false condition persists the library will recalibrate according to the settings of the recalibration threshold.

This setting is applicable to all the configured sensors.

Usage :

RECAL_x = recalibration threshold is x percent of detection threshold value (rounded down).

Note: a minimum value of 4 is used.

Example: if detection threshold = 40, then:

RECAL_100  = 40 ( 100 percent of 40)

RECAL_50      = 20 ( 50 percent of 40)

RECAL_25      = 10 ( 25 percent of 40)

RECAL_12_5  = 5  ( 12.5 percent of 40)

RECAL_6_25  = 4  ( 6.25 percent of 40 = 2, but value is limited to 4)

Values

Comment

RECAL_100

100% recalibration threshold

RECAL_50

50% recalibration threshold

RECAL_25

25% recalibration threshold

RECAL_12_5

12.5% recalibration threshold

RECAL_6_25

6.25% recalibration threshold