Create this program

Dependencies:   mbed HCSR04 HMC6352 PID TextLCD

Revision:
6:44c3bfbe2553
Parent:
5:e07e380ddb93
--- a/motor.h	Sat Aug 08 12:39:18 2015 +0000
+++ b/motor.h	Tue Aug 11 13:11:05 2015 +0000
@@ -20,7 +20,7 @@
     void run(float power); // input -1 ~ 1
     void brake(void);
 
-protected:
+private:
     float limit;
     PwmOut* powerLevel;
     DigitalOut normal;