Example #1
0
        internal async Task StepMotorAtSpeedAsyncInternal(OutputPort ports, int speed, uint rampUpSteps, uint constantSteps, uint rampDownSteps, bool brake)
        {
            Command c = new Command(CommandType.DirectNoReply);

            c.StepMotorAtSpeed(ports, speed, rampUpSteps, constantSteps, rampDownSteps, brake);
            await _brick.SendCommandAsyncInternal(c);
        }
Example #2
0
		internal async Task StepMotorAtSpeedAsyncInternal(OutputPort ports, int speed, uint rampUpSteps, uint constantSteps, uint rampDownSteps, bool brake)
		{
			Command c = new Command(CommandType.DirectNoReply);
			c.StepMotorAtSpeed(ports, speed, rampUpSteps, constantSteps, rampDownSteps, brake);
			await _brick.SendCommandAsyncInternal(c);
		}