Reference.RobotMotorsWrite History

Hide minor edits - Show changes to markup

May 15, 2013, at 09:30 AM by Scott Fitzgerald -
Changed lines 14-18 from:

speedLeft: the speed of left wheel.

speedRight: the speed of right wheel.

to:
  • speedLeft: the speed of left wheel
  • speedRight: the speed of right wheel
May 15, 2013, at 09:29 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Precise control over the speed and direction of the motors that connect to the robot's wheels.

to:

Controls the speed and direction of the two motors connected to the robot's wheels. motorsWrite() needs values between -255 and 255. If the value is greater than 0, the wheel turns forward. If less than 0, the motor turns backwards.

Changed lines 11-12 from:

Robot.motorsWrite(speedLeft,speedRight)

to:

Robot.motorsWrite(speedLeft, speedRight)

Deleted lines 18-19:

Valid values are between -255 and 255. If the value is greater than 0, the wheel turns forward. If less than 0, the motor turns backwards.

May 03, 2013, at 11:18 AM by Xun Yang -
Changed lines 1-2 from:
to:
April 18, 2013, at 05:13 PM by Xun Yang -
Added line 46:
April 14, 2013, at 11:56 AM by Scott Fitzgerald -
Changed lines 1-2 from:

motorsWrite(speedLeft,speedRight)

to:

Robot?

motorsWrite()

Changed lines 7-8 from:

Precise control over the robot's wheels.

to:

Precise control over the speed and direction of the motors that connect to the robot's wheels.

Syntax

Robot.motorsWrite(speedLeft,speedRight)

Changed lines 15-21 from:

speedLeft: controls the speed of left wheel.

speedRight: controls the speed of right wheel.

Both values can be from -255 to 255. If the value is bigger than 0, the wheel turns forward. Smaller than 0, the motor turns backwards.

to:

speedLeft: the speed of left wheel.

speedRight: the speed of right wheel.

Valid values are between -255 and 255. If the value is greater than 0, the wheel turns forward. If less than 0, the motor turns backwards.

Changed line 26 from:
to:
Changed line 47 from:
to:
April 11, 2013, at 07:42 PM by Xun Yang -
Added lines 1-42:

Share