Пример #1
0
        internal async Task TurnMotorAtPowerAsyncInternal(OutputPort ports, int power)
        {
            Command c = new Command(CommandType.DirectNoReply);

            c.TurnMotorAtPower(ports, power);
            c.StartMotor(ports);
            await _brick.SendCommandAsyncInternal(c);
        }
Пример #2
0
		internal async Task TurnMotorAtPowerAsyncInternal(OutputPort ports, int power)
		{
			Command c = new Command(CommandType.DirectNoReply);
			c.TurnMotorAtPower(ports, power);
			c.StartMotor(ports);
			await _brick.SendCommandAsyncInternal(c);
		}