Main Program

Dependencies:   mbed AQM1602 HMC6352 PID

Revision:
8:659f697059d3
Parent:
3:f7c906e52339
--- a/txrx.cpp	Wed Sep 16 06:13:07 2015 +0000
+++ b/txrx.cpp	Wed Sep 16 06:38:20 2015 +0000
@@ -2,12 +2,7 @@
 #include "txrx.h"
 #include "def.h"
 
-extern volatile uint8_t INdata[DATA_NUM], EXdata[DATA_NUM];
-extern BusOut LED;
-extern Serial pc;
-extern Serial RN42;
-extern Timer t;
-extern Ticker Stp;
+#include "extern.h"
 
 void cls() {
     for(int i=0;i<DATA_NUM;i++) INdata[i]=0;