Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion v5/tutorials/walkthrough/clawbot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ and then we'll run the tank drive code.

void opcontrol() {
pros::Motor left_wheels (LEFT_WHEELS_PORT);
pros::Motor right_wheels (RIGHT_WHEELS_PORT, true); // This reverses the motor
pros::Motor right_wheels (-RIGHT_WHEELS_PORT); // Setting the port value to negative reverses the motor.
pros::Controller master (CONTROLLER_MASTER);

while (true) {
Expand Down