Esempio n. 1
0
        internal async Task StepMotorAtPowerAsyncInternal(OutputPort ports, int power, uint rampUpSteps, uint constantSteps, uint rampDownSteps, bool brake)
        {
            Command c = new Command(CommandType.DirectNoReply);

            c.StepMotorAtPower(ports, power, rampUpSteps, constantSteps, rampDownSteps, brake);
            await _brick.SendCommandAsyncInternal(c);
        }
Esempio n. 2
0
		internal async Task StepMotorAtPowerAsyncInternal(OutputPort ports, int power, uint rampUpSteps, uint constantSteps, uint rampDownSteps, bool brake)
		{
			Command c = new Command(CommandType.DirectNoReply);
			c.StepMotorAtPower(ports, power, rampUpSteps, constantSteps, rampDownSteps, brake);
			await _brick.SendCommandAsyncInternal(c);
		}