pub async fn run_triggerbox(
on_new_model_cb: ClockModelCallback,
outq: Receiver<Cmd>,
triggerbox_data_tx: Option<Sender<TriggerClockInfoRow>>,
opts: TriggerboxOptions,
) -> Result<()>Expand description
Connect to a triggerbox and run until outq is closed.
ยงErrors
Returns an error if connecting to or communicating with the device fails.