updates author information

This commit is contained in:
2012-01-27 11:13:04 -05:00
parent c539f7cad1
commit f7e550ab52

View File

@@ -1,6 +1,7 @@
/** /**
* IOIOMotorDriver.java * IOIOMotorDriver.java
* @date Jan 25, 2012 * @date Jan 25, 2012
* @author Tamlyn Rhodes
* @author ricky barrette * @author ricky barrette
* @author Twenty Codes, LLC * @author Twenty Codes, LLC
*/ */
@@ -14,6 +15,8 @@ import ioio.lib.api.exception.ConnectionLostException;
/** /**
* This class is used to drive one of the (2) motors via the TB6612FNG motor driver from sparkfun. * This class is used to drive one of the (2) motors via the TB6612FNG motor driver from sparkfun.
* https://github.com/tamlyn/Billy-Robot/blob/master/src/org/tamlyn/billy/IOIOMotor.java
* @author Tamlyn Rhodes
* @author ricky barrette * @author ricky barrette
*/ */
public class TB6612FNGMotorDriver { public class TB6612FNGMotorDriver {
@@ -33,7 +36,7 @@ public class TB6612FNGMotorDriver {
* @param in1Pin IOIO port number for the motor driver in1 pin * @param in1Pin IOIO port number for the motor driver in1 pin
* @param in2Pin IOIO port number for the motor driver in2 pin * @param in2Pin IOIO port number for the motor driver in2 pin
* @throws ConnectionLostException * @throws ConnectionLostException
* @author ricky barrette * @author Tamlyn Rhodes
*/ */
public TB6612FNGMotorDriver(IOIO ioio, int pwmPin, int in1Pin, int in2Pin) throws ConnectionLostException { public TB6612FNGMotorDriver(IOIO ioio, int pwmPin, int in1Pin, int in2Pin) throws ConnectionLostException {
Log.v(TAG, "Initializing TB6612FNG Motor Driver on ports: (pwm) "+ pwmPin +", (in1) "+ in1Pin +", (in2) "+in2Pin); Log.v(TAG, "Initializing TB6612FNG Motor Driver on ports: (pwm) "+ pwmPin +", (in1) "+ in1Pin +", (in2) "+in2Pin);
@@ -47,7 +50,7 @@ public class TB6612FNGMotorDriver {
* Sets the speed of this motor * Sets the speed of this motor
* @param speed +/- 0.0 - 1.0 * @param speed +/- 0.0 - 1.0
* @throws ConnectionLostException * @throws ConnectionLostException
* @author ricky barrette * @author Tamlyn Rhodes
*/ */
public void setSpeed(float speed) throws ConnectionLostException { public void setSpeed(float speed) throws ConnectionLostException {
if(speed == 0) { if(speed == 0) {