This project has moved. For the latest updates, please go here.

Functional Methods?

Sep 27, 2014 at 2:03 AM
I have been trying to get these two methods to work, with no luck:

Brick.BatchCommand.TurnMotorAtSpeed
Brick.BatchCommand.TurnMotorAtPower

I'm expecting that they initiate the motor with no set stoppage time (the motor runs until I stop it.) But, these methods do not do have any noticable functionality at all.

When I send a Brick.BatchCommand.PlayTone along with the batch, the tone plays as expected, but the motors do not run.

These methods do work as expected:

Brick.BatchCommand.TurnMotorAtPowerForTime
Brick.BatchCommand.TurnMotorAtSpeedForTime

For now, I will just run them with a very long time parameter.

Thanks for building this API.

Mitch