Arduino Function Calls Glossary

All of the function calls to utilize during the AEV project.

 

celerate(m,p1p2,t);

This code accelerates or decelerates motor(s) m from power p1 to power p2 over the span of t seconds.

 

motorSpeed(m,P);

Sets motor m at power p.

 

goFor(t);

Runs the motor for t seconds at the previously stated power.

 

brake(m);

Stops motor m.

 

reverse(m);

changes the direction of the motor(s).

 

goToRelativePosition(n);

The motor makes the vehicle go to a position n away from its current position.

 

goToAbsolutePosition(n);

The motor makes the vehicle go to a position n away from its starting position.