CatPot 2015-2016 / Mbed 2 deprecated CatPot_Main_T_2v00

Dependencies:   mbed AQM1602 HMC6352 PID

Revision:
21:d69a8f3c76e1
Parent:
19:342da3a5a474
Child:
24:9fb74ea3c25d
--- a/setting/extern.h	Thu Jan 21 16:54:54 2016 +0000
+++ b/setting/extern.h	Sat Jan 30 09:02:03 2016 +0000
@@ -7,12 +7,10 @@
 #include <sstream>
 #include "math.h"
 #include "AQM1602.h"
-#include "MPU6050_6Axis_MotionApps20.h"
-#include "config.h"
+#include "HMC6352.h"
 #include "PID.h"
 
 #include "adns_9800.h"
-#include "mpu_6050.h"
 #include "txrx.h"
 #include "switch.h"
 #include "wordString2.h"
@@ -37,6 +35,7 @@
 extern BusOut LineSignalHolder;
 extern BusIn RawLineSignal;
 extern BusIn HeldLineSignal;
+extern InterruptIn Line[3];
 //ballcheck(bottom)
 extern DigitalIn BallChecker;
 //debug_switch(debug_board)
@@ -51,9 +50,8 @@
 extern DigitalOut RN42_Reset;
 //lcd(debug_board)
 extern AQM1602 Lcd;
-//gyro(debug_board)
-extern MPU6050 mpu;     // sda, scl pin
-extern InterruptIn INT0;     // INT0 pin
+//cmps
+extern HMC6352 hmc;
 //mouse(bottom)
 extern adns_9800 mouse_sensor;
 //solenoid(bottom)