Ohnishi_Gundan / Mbed 2 deprecated Master-FM

Dependencies:   MODSERIAL mbed-rtos mbed

Fork of Master by Ohnishi_Gundan

Revision:
6:df6d8ba1907a
Parent:
5:37733f175430
Child:
8:bfcfda6b38fe
--- a/main.cpp	Fri Sep 12 11:43:36 2014 +0000
+++ b/main.cpp	Fri Sep 12 12:12:01 2014 +0000
@@ -45,7 +45,7 @@
     float ir_m,fsr_m;   //sensor of master
     float ir_s,fsr_s;   //sensor of slave
     sync(SYNC_SENSOR,NULL,NULL);
-    receiveSensor( &ir_s, &fsr_s );
+    recieveSensor( &ir_s, &fsr_s );
     led4 = ( ir_s>0.5 ? 1 : 0 );
     led2 = ( led2 ? 0 : 1 );
     wait(1);