invoke

operator fun invoke(control: ControlRequest): StatusCode

Invokes a control request on the TonguFX motor controller using operator call syntax.

This extension operator forwards the provided ControlRequest to TonguFX.setControl.

Receiver

The TonguFX instance representing the motor controller.

Return

The StatusCode result from TonguFX.setControl.

Parameters

control

The control request to send.