An auto car with 3 IR sensors.

Dependencies:   Ping

Revision:
19:d06f5a3ed0bc
Parent:
18:d7509436e9ef
Child:
21:093c8525349a
--- a/autocar/autocar.h	Wed Jul 18 12:38:54 2018 +0000
+++ b/autocar/autocar.h	Wed Jul 18 14:18:39 2018 +0000
@@ -32,7 +32,7 @@
 void DriveSingleMotor(int m, int speed, int dir);
 void driveMotor(bool left, bool middle, bool right);
 void driveMotor(bool left, bool middle, bool right, bool hasObstacle);
-void driveMotorPID(float values, float Kp, float Ki, float Kd);
+void driveMotorPID(int values, float Kp, float Ki, float Kd);
 
 void init();
 void stop();