set_analog_mode
Sets the high and low threshold voltages of analog inputs.Analog 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": 1.0,
"low": 0.75
}
1
2
3
4
2
3
4