Exemplo n.º 1
0
        internal async Task StepMotorSyncAsyncInternal(OutputPort ports, int speed, short turnRatio, uint step, bool brake)
        {
            Command c = new Command(CommandType.DirectNoReply);

            c.StepMotorSync(ports, speed, turnRatio, step, brake);
            await _brick.SendCommandAsyncInternal(c);
        }
Exemplo n.º 2
0
		internal async Task StepMotorSyncAsyncInternal(OutputPort ports, int speed, short turnRatio, uint step, bool brake)
		{
			Command c = new Command(CommandType.DirectNoReply);
			c.StepMotorSync(ports, speed, turnRatio, step, brake);
			await _brick.SendCommandAsyncInternal(c);
		}