version 3 通信方式,マイコン等に変更あり

Dependencies:   AQM0802A PID Servo mbed

Revision:
3:4a39486ff238
Parent:
2:e84bb87eea71
Child:
4:2857f273a7f4
diff -r e84bb87eea71 -r 4a39486ff238 main.h
--- a/main.h	Tue Mar 10 08:28:15 2015 +0000
+++ b/main.h	Tue Mar 10 13:22:00 2015 +0000
@@ -36,8 +36,9 @@
 DigitalOut  Led[4] = {LED1,LED2,LED3,LED4};
 DigitalOut  Kick(p29);
 Servo       S555(p21);
+MultiSerial Mbed(p9,p10);//tx,rx
 AQM0802A    Lcd(p28,p27);//sda,scl
-MultiSerial Mbed(p9,p10);//tx,rx
+
 Serial      Motor(p13,p14);//tx,rx
 Serial      pc(USBTX,USBRX);
 
@@ -62,7 +63,7 @@
 unsigned int Compass = 0;
 double SetC = 0, InputPID = 180.0, CompassPID = 0.0;
 
-extern uint8_t rx_data[9] = {0};
+uint8_t rx_data[9] = {0};
 /*mbed sensor data */
 
 volatile  int Angle[180] = {