dd

Dependencies:   C12832 LM75B mbed

Revision:
0:05a20e3e3179
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Define.h	Tue Apr 21 10:16:20 2015 +0000
@@ -0,0 +1,41 @@
+#define  Add_Sensor_CAP_HMC      0x0042
+#define  Add_Sensor_TAS_EG4      0x00EA
+#define  Add_Sensor_ALT_EG4      0x00EC
+
+#define  Cmd_Sensor_CAP          0x41
+#define  Cmd_Sensor_TAS          0x07
+#define  Cmd_Sensor_ALT          0x07
+
+#define  HMC6352_CONTINUOUS      0x02
+//--------------------------------
+#define ET_00 0
+#define ET_01 1
+#define ET_02 2
+#define ET_03 3
+#define ET_04 4
+#define ET_05 5
+#define ET_06 6
+#define ET_07 7
+#define ET_08 8
+#define ET_09 9
+#define ET_10 10
+//-----------------------------
+#define prompt$GP "$GP"
+#define promptGGA "GGA"
+#define promptRMC "RMC"
+#define GGA 1
+#define RMC 2
+#define NData_GPS_Max 100
+//-----------------------------
+unsigned char ET_AutoMat_GPS     = ET_00;
+unsigned char ET_AutoMat_Xbee_Tx = ET_00;
+unsigned char ET_AutoMat_DataLog = ET_00;
+unsigned char ET_AutoMat_ALT     = ET_00;  
+unsigned char ET_AutoMat_TAS     = ET_00;
+unsigned char ET_AutoMat_CAP     = ET_00;
+
+unsigned int offset_TAS,OldTimer_10ms;
+unsigned int CAP,TAS,ALT,TEMPRE;
+unsigned int OldCAP,OldTAS,OldALT,OldTEMPRE;
+
+unsigned char Flag_Timer = 0;
\ No newline at end of file