Updated version of RenBuggy Servo that can accept instructions based on time or distance.
Fork of RenBuggyServo by
Diff: Car.h
- Revision:
- 6:5767cb4ed8de
- Parent:
- 5:c06b90175a54
- Child:
- 7:566d6deaceac
diff -r c06b90175a54 -r 5767cb4ed8de Car.h --- a/Car.h Mon Mar 31 07:49:08 2014 +0000 +++ b/Car.h Mon Mar 31 12:54:28 2014 +0000 @@ -124,13 +124,13 @@ * distance. * @param distance is how far the car will travel, in cm. */ - void forwards(float distance); + void forwards_measured(float distance); /** * Moves the car in the direction it is facing, until a user * tells it to stop. */ - void forwards(); + void forwards_timed(); /** * Stops the car from moving.