Ahmed_PFE_Embarq_300415
Dependencies: C12832 LM75B mbed
Fork of Ahmed_Embarq_Prog by
Define.h@0:05a20e3e3179, 2015-04-21 (annotated)
- Committer:
- pfe
- Date:
- Tue Apr 21 10:16:20 2015 +0000
- Revision:
- 0:05a20e3e3179
- Child:
- 1:197b9fed6092
dd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pfe | 0:05a20e3e3179 | 1 | #define Add_Sensor_CAP_HMC 0x0042 |
pfe | 0:05a20e3e3179 | 2 | #define Add_Sensor_TAS_EG4 0x00EA |
pfe | 0:05a20e3e3179 | 3 | #define Add_Sensor_ALT_EG4 0x00EC |
pfe | 0:05a20e3e3179 | 4 | |
pfe | 0:05a20e3e3179 | 5 | #define Cmd_Sensor_CAP 0x41 |
pfe | 0:05a20e3e3179 | 6 | #define Cmd_Sensor_TAS 0x07 |
pfe | 0:05a20e3e3179 | 7 | #define Cmd_Sensor_ALT 0x07 |
pfe | 0:05a20e3e3179 | 8 | |
pfe | 0:05a20e3e3179 | 9 | #define HMC6352_CONTINUOUS 0x02 |
pfe | 0:05a20e3e3179 | 10 | //-------------------------------- |
pfe | 0:05a20e3e3179 | 11 | #define ET_00 0 |
pfe | 0:05a20e3e3179 | 12 | #define ET_01 1 |
pfe | 0:05a20e3e3179 | 13 | #define ET_02 2 |
pfe | 0:05a20e3e3179 | 14 | #define ET_03 3 |
pfe | 0:05a20e3e3179 | 15 | #define ET_04 4 |
pfe | 0:05a20e3e3179 | 16 | #define ET_05 5 |
pfe | 0:05a20e3e3179 | 17 | #define ET_06 6 |
pfe | 0:05a20e3e3179 | 18 | #define ET_07 7 |
pfe | 0:05a20e3e3179 | 19 | #define ET_08 8 |
pfe | 0:05a20e3e3179 | 20 | #define ET_09 9 |
pfe | 0:05a20e3e3179 | 21 | #define ET_10 10 |
pfe | 0:05a20e3e3179 | 22 | //----------------------------- |
pfe | 0:05a20e3e3179 | 23 | #define prompt$GP "$GP" |
pfe | 0:05a20e3e3179 | 24 | #define promptGGA "GGA" |
pfe | 0:05a20e3e3179 | 25 | #define promptRMC "RMC" |
pfe | 0:05a20e3e3179 | 26 | #define GGA 1 |
pfe | 0:05a20e3e3179 | 27 | #define RMC 2 |
pfe | 0:05a20e3e3179 | 28 | #define NData_GPS_Max 100 |
pfe | 0:05a20e3e3179 | 29 | //----------------------------- |
pfe | 0:05a20e3e3179 | 30 | unsigned char ET_AutoMat_GPS = ET_00; |
pfe | 0:05a20e3e3179 | 31 | unsigned char ET_AutoMat_Xbee_Tx = ET_00; |
pfe | 0:05a20e3e3179 | 32 | unsigned char ET_AutoMat_DataLog = ET_00; |
pfe | 0:05a20e3e3179 | 33 | unsigned char ET_AutoMat_ALT = ET_00; |
pfe | 0:05a20e3e3179 | 34 | unsigned char ET_AutoMat_TAS = ET_00; |
pfe | 0:05a20e3e3179 | 35 | unsigned char ET_AutoMat_CAP = ET_00; |
pfe | 0:05a20e3e3179 | 36 | |
pfe | 0:05a20e3e3179 | 37 | unsigned int offset_TAS,OldTimer_10ms; |
pfe | 0:05a20e3e3179 | 38 | unsigned int CAP,TAS,ALT,TEMPRE; |
pfe | 0:05a20e3e3179 | 39 | unsigned int OldCAP,OldTAS,OldALT,OldTEMPRE; |
pfe | 0:05a20e3e3179 | 40 | |
pfe | 0:05a20e3e3179 | 41 | unsigned char Flag_Timer = 0; |