sakthi priya amirtharaj
/
BAE_vr2_1_3
i2c working with old hk
Fork of BAE_vr2_1_1 by
Diff: HK.h
- Revision:
- 0:8b0d43fe6c05
- Child:
- 3:02b45de29c0f
diff -r 000000000000 -r 8b0d43fe6c05 HK.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HK.h Wed Sep 10 06:41:21 2014 +0000 @@ -0,0 +1,32 @@ +#include "mbed.h" +#define tstart -40 +#define tstep 8 +#define vstart 3.3 +#define vstep 0.84667 +#define cstart 0.0691 +#define cstep 0.09133 +#define rsens 0.095 + + + +struct SensorData { + char Voltage[10]; + char Current[10]; + char Temperature[10]; + //float Battery[2]; +}; + +typedef struct ShortBeacon { + char Voltage[1]; + char AngularSpeed[2]; + char SubsystemStatus[1]; + char Temp[3]; + char ErrorFlag[1]; +}ShortBeacy; + + +void FUNC_HK_MAIN(); + +int quantiz(float start,float step,float x); + +