Ohnishi_Gundan / Mbed 2 deprecated Master-FM

Dependencies:   MODSERIAL mbed-rtos mbed

Fork of Master by Ohnishi_Gundan

Revision:
9:6057314dc8ec
Parent:
8:bfcfda6b38fe
diff -r bfcfda6b38fe -r 6057314dc8ec control.cpp
--- a/control.cpp	Sat Sep 13 09:42:55 2014 +0000
+++ b/control.cpp	Sat Sep 13 11:03:52 2014 +0000
@@ -34,14 +34,14 @@
 }
 
 void pull(float buf){
-    Sig1 = 0;
-    Sig2 = 1;
+    Sig1 = 1;
+    Sig2 = 0;
     Pwm = zeroPWM+buf/3;
 }
 
 void loose(float buf){
-    Sig1 = 1;
-    Sig2 = 0;
+    Sig1 = 0;
+    Sig2 = 1;
     Pwm = zeroPWM+buf/3;
 }
 
@@ -78,5 +78,4 @@
 void getSensor(float* _ir,float* _fsr){
     *_ir = IR;
     *_fsr = FSR;
-    c_pc.printf("%f\n",*_fsr);
 }
\ No newline at end of file