Logic Player
These commands are available three ways — in the FREE-WILi GUI app, in a serial terminal, and on the device itself. See Connecting it to a computer for how to reach them.
configure
Configures digital playback
How to use it — press c. At the prompt, enter: SampleRateNs SampleCount PinStart PinStop StartMode(0=now,1=rising,2=falling) TriggerPin Loop(0/1).
What you enter — sample_rate_ns, sample_count, pin_start, pin_stop, start_mode, trigger_pin, loop.
configure analog
Configures DAC playback
How to use it — press a. At the prompt, enter: AnalogMask(bit0=Aout0 Bit3=Aout3) AnalogRateNs AnalogRes(8/16).
What you enter — mask, analog_rate_ns, analog_resolution.
load
Loads a raw buffer from the filesystem
How to use it — press l. At the prompt, enter: file path to load into the play buffer.
What you enter — file_path.
start
Starts playback
How to use it — press s.
stop
Stops playback
How to use it — press e.