Hello
I am trying for the first time to work with the BrickPi, using Java.
I have MindStorm (v1) and rpi B.
I’ve written simple code in java using BrickPiJava, but the motor doesn’t move (I do here a very quite noise from it):
log("Starting.");
BrickPi brickPi = BrickPi.getBrickPi();
log("Got brick.");
brickPi.setTimeout(20000);
brickPi.setupSensors();
// Thread.sleep(1000);
log("Setup sensors.");
Motor leftWheel = new Motor();
brickPi.setMotor(leftWheel, 0);
leftWheel.setCommandedOutput(200);
leftWheel.setEnabled(true);
leftWheel.setCommandedOutput(-25);
// leftWheel.rotate(10, 50);
log("Motor " + i + " rotated!");
Thread.sleep(10000);
log("Done.");
Am I missing something? the BrickPiTests main also couldn’t move the motor.