Skip to content

Commit

Permalink
Romi32U4Motors.h: Fixed the commends for setRightSpeed and setSpeeds.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEGrayson committed Apr 19, 2017
1 parent ddf2c0d commit d3975fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Romi32U4Motors.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ class Romi32U4Motors
* reverse, and values of 300 or more result in full speed forward. */
static void setLeftSpeed(int16_t speed);

/** \brief Sets the speed for the left motor.
/** \brief Sets the speed for the right motor.
*
* \param speed A number from -300 to 300 representing the speed and
* direction of the right motor. Values of -300 or less result in full speed
* reverse, and values of 300 or more result in full speed forward. */
static void setRightSpeed(int16_t speed);

/** \brief Sets the speed for the left motor.
/** \brief Sets the speed for both motors.
*
* \param leftSpeed A number from -300 to 300 representing the speed and
* direction of the right motor. Values of -300 or less result in full speed
Expand Down

0 comments on commit d3975fb

Please sign in to comment.