![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
things are working
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of CDMS_DEC_2016_jan by
CDMS_HK.h@4:560716ec8414, 2016-01-23 (annotated)
- Committer:
- cholletisaik777
- Date:
- Sat Jan 23 11:33:47 2016 +0000
- Revision:
- 4:560716ec8414
- Parent:
- 1:ad3b8a8032e2
things are working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pradeepvk2208 | 1:ad3b8a8032e2 | 1 | #include "mbed.h" |
pradeepvk2208 | 1:ad3b8a8032e2 | 2 | |
pradeepvk2208 | 1:ad3b8a8032e2 | 3 | void FCTN_CDMS_HK_MAIN(); |
pradeepvk2208 | 1:ad3b8a8032e2 | 4 | char* FCTN_CDMS_HK(); |
pradeepvk2208 | 1:ad3b8a8032e2 | 5 | extern uint8_t CDMS_HK_STATUS; |
pradeepvk2208 | 1:ad3b8a8032e2 | 6 | extern uint8_t Power_level; |
pradeepvk2208 | 1:ad3b8a8032e2 | 7 | extern uint8_t Att_level; |
pradeepvk2208 | 1:ad3b8a8032e2 | 8 | extern char CDMS_HK[8]; |
pradeepvk2208 | 1:ad3b8a8032e2 | 9 | |
pradeepvk2208 | 1:ad3b8a8032e2 | 10 | #define tstart -40 |
pradeepvk2208 | 1:ad3b8a8032e2 | 11 | #define tstep 8 |
pradeepvk2208 | 1:ad3b8a8032e2 | 12 | #define tstep_thermistor 8 |
pradeepvk2208 | 1:ad3b8a8032e2 | 13 | #define tstart_thermistor -40 |
pradeepvk2208 | 1:ad3b8a8032e2 | 14 | |
pradeepvk2208 | 1:ad3b8a8032e2 | 15 | |
pradeepvk2208 | 1:ad3b8a8032e2 | 16 | typedef struct Sensor_Data |
pradeepvk2208 | 1:ad3b8a8032e2 | 17 | { |
pradeepvk2208 | 1:ad3b8a8032e2 | 18 | |
pradeepvk2208 | 1:ad3b8a8032e2 | 19 | float l_Temperature_sensor[2]; |
pradeepvk2208 | 1:ad3b8a8032e2 | 20 | float l_Temperature_thermistor[4]; //read by thermistors on solar panels |
pradeepvk2208 | 1:ad3b8a8032e2 | 21 | float l_Payload_voltage[9]; //for payload analog signals |
pradeepvk2208 | 1:ad3b8a8032e2 | 22 | |
pradeepvk2208 | 1:ad3b8a8032e2 | 23 | } Sensor_Data; |
pradeepvk2208 | 1:ad3b8a8032e2 | 24 | |
pradeepvk2208 | 1:ad3b8a8032e2 | 25 | typedef struct Sensor_Data_Quantised |
pradeepvk2208 | 1:ad3b8a8032e2 | 26 | { |
pradeepvk2208 | 1:ad3b8a8032e2 | 27 | char l_Temperature_sensor[1]; |
pradeepvk2208 | 1:ad3b8a8032e2 | 28 | char l_Temperature_thermistor[2]; |
pradeepvk2208 | 1:ad3b8a8032e2 | 29 | char l_Payload_voltage[5]; |
pradeepvk2208 | 1:ad3b8a8032e2 | 30 | |
pradeepvk2208 | 1:ad3b8a8032e2 | 31 | } Sensor_Data_Quantised; |