set_source

Sets the source of Logic Analyzer's input to either digital I/O or analog inputs

Mokus' 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:DigitalIO, AnalogInputs, SlotInput
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{ "source": "DigitalIO" }
1