MBED Framework with communication to be tested

Dependencies:   mbed

PROTOTYPES.h

Committer:
AndrewLouw
Date:
2017-06-15
Revision:
1:e8c5a9654f5f
Parent:
0:a32d085719df
Child:
2:64443528f6bb

File content as of revision 1:e8c5a9654f5f:

typedef enum OpModesym {Setup, Canopy_on, Canopy_off, Manual, Error} OpModesym;
typedef enum Errorsym {False,Switch_Error} Errorsym;


OpModesym readswitches();
void checkLDR(float &LDR1,float &LDR2);
void checkMPPT(float *MMPT);
bool shouldmove(float *MMPT,float LDR1,float LDR2,double Upperlimit,double Lowelimit,double *panel_locations);
void getlocations(double Upperlimit, double Lowerlimit,double *panel_locations);
void sendlocations(double *panel_locations);
uint8_t toEncoder(double angle);
void interruptHandler();