set_analog_mode
Sets the threshold voltages of analog inputsAnalog signals are converted to digital using the thresholds provided.
Parameters
float
High threshold for analog inputs
default: 1.25allowed values:units: V float
Low threshold for analog inputs
default: 0.75allowed 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
2
3
4
5