Programming a Motor with a Gamepad
Driving Motors with the Gamepad
// run until the end of the match (driver presses STOP)
while (opModeIsActive()) {
test_motor.setPower(this.gamepad1.left_stick_y);
telemetry.addData("Status", "Running");
telemetry.update();
}Quick Check!
Adjusting Y-axis Direction
Last updated
Was this helpful?

