set_source
Sets the source of Logic Analyzer's input to either digital I/O or analog inputsMokus' analog inputs can be utilized as digital signal pins by configuring a threshold voltage. When the signal exceeds the threshold voltage, it is detected as "High"; otherwise, it is considered "Low."
Parameters
string required
Type of input source to configure
allowed values:Moku:Lab AnalogInputs, SlotInput Moku:Go DigitalIO, AnalogInputs, SlotInput Moku:Pro AnalogInputs, SlotInput Moku:Delta DigitalIO1, DigitalIO2, AnalogInputs, SlotInput
boolean
Disable all implicit conversions and coercions.
default: true# Examples
# Sample response
{
"source": "DigitalIO"
}
1
2
3
2
3