public void SetMotorDriver(MotorDriver motorDriver) { Microcontroller.SetMotorDriver(controllerChannel, motorDriver); MotorDriver = motorDriver; }
public static void SetMotorDriver(int channel, MotorDriver motorDriver) { string command = $"{STR_MotorDriverCommand} {channel} {motorDriver}"; communicationsManager.Write(command); }