set_analog_mode

Sets the threshold voltages of analog inputs

Analog signals are converted to digital using the thresholds provided.

Parameters

float
High threshold for analog inputs
default: 1.25
allowed values:
units: V
float
Low threshold for analog inputs
default: 0.75
allowed values:
units: V
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "High/low thresholding": true,
    "high": 1.0,
    "low": 0.75
}
1
2
3
4
5