bae integrated final (may be)

Dependencies:   mbed-rtos mbed

Fork of BAE_FRDMTESIN2 by Seeker of Truth ,

HK.h

Committer:
raizel_varun
Date:
2014-12-10
Revision:
7:f06840d848e3
Parent:
6:e65b1ab79f36
Child:
8:667fbc82d634

File content as of revision 7:f06840d848e3:

#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];
    char faultpoll;
    char faultir;
    char power_mode;
    //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);