Chaitanya Viswa
/
BAE_SEM5
no beacon yes yes beacon no
Fork of all_combined_week6 by
Diff: HK.h
- Revision:
- 4:79b97f9cab00
- Child:
- 6:82153349cc9b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HK.h Sat Jul 12 07:26:06 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); + +