Fixed Sonar

Dependencies:   C12832 Servo mbed-rtos-edited mbed

Fork of NervousPuppy by Sean Doyle

Revision:
1:8fe6802d6971
Parent:
0:f71b200c2f4d
Child:
2:8415bea33a95
--- a/nervousPuppy.h	Mon Jan 12 19:05:08 2015 +0000
+++ b/nervousPuppy.h	Mon Jan 12 19:32:28 2015 +0000
@@ -1,5 +1,4 @@
 #include "mbed.h"
-#include <iostream>
 
 #define Cos(a) cos(PI/180*(a))
 #define Sin(a) sin(PI/180*(a))
@@ -18,7 +17,7 @@
         bool isScared();
         
         float getPlayerDistance();
-        void setPlayerDistance();
+        void setPlayerDistance(float dist);
                 
     private:
         float playerDistance;