hello

Dependencies:   mbed-rtos mbed

Fork of BX-car by kao yi

Revision:
10:9f0ce6ba7663
Parent:
7:fd976e1ced33
--- a/pot.cpp	Tue Jun 24 10:06:54 2014 +0000
+++ b/pot.cpp	Thu Jun 26 14:29:53 2014 +0000
@@ -1,12 +1,7 @@
-
 #include "mbed.h"
 #include "pot.h"
 
-
-
 BX_pot::BX_pot(char t){
-    
-    
     switch (t){
        case '1':  
          pot_in = new AnalogIn (PTB3);
@@ -15,16 +10,8 @@
          pot_in = new AnalogIn (PTB2);
        break;
     }
-    
-    
-    
-    }
+}
     
  float  BX_pot::read(void){
-     
-     
-     
-  return    pot_in->read();
-     
-     
+     return    pot_in->read();
 }   
\ No newline at end of file