dd

Dependencies:   C12832 LM75B mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Define.h Source File

Define.h

00001 #define  Add_Sensor_CAP_HMC      0x0042
00002 #define  Add_Sensor_TAS_EG4      0x00EA
00003 #define  Add_Sensor_ALT_EG4      0x00EC
00004 
00005 #define  Cmd_Sensor_CAP          0x41
00006 #define  Cmd_Sensor_TAS          0x07
00007 #define  Cmd_Sensor_ALT          0x07
00008 
00009 #define  HMC6352_CONTINUOUS      0x02
00010 //--------------------------------
00011 #define ET_00 0
00012 #define ET_01 1
00013 #define ET_02 2
00014 #define ET_03 3
00015 #define ET_04 4
00016 #define ET_05 5
00017 #define ET_06 6
00018 #define ET_07 7
00019 #define ET_08 8
00020 #define ET_09 9
00021 #define ET_10 10
00022 //-----------------------------
00023 #define prompt$GP "$GP"
00024 #define promptGGA "GGA"
00025 #define promptRMC "RMC"
00026 #define GGA 1
00027 #define RMC 2
00028 #define NData_GPS_Max 100
00029 //-----------------------------
00030 unsigned char ET_AutoMat_GPS     = ET_00;
00031 unsigned char ET_AutoMat_Xbee_Tx = ET_00;
00032 unsigned char ET_AutoMat_DataLog = ET_00;
00033 unsigned char ET_AutoMat_ALT     = ET_00;  
00034 unsigned char ET_AutoMat_TAS     = ET_00;
00035 unsigned char ET_AutoMat_CAP     = ET_00;
00036 
00037 unsigned int offset_TAS,OldTimer_10ms;
00038 unsigned int CAP,TAS,ALT,TEMPRE;
00039 unsigned int OldCAP,OldTAS,OldALT,OldTEMPRE;
00040 
00041 unsigned char Flag_Timer = 0;