MBED Framework with communication to be tested

Dependencies:   mbed

Committer:
AndrewLouw
Date:
Wed Jun 14 13:55:31 2017 +0000
Revision:
0:a32d085719df
Child:
1:e8c5a9654f5f
General structure and some functions

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AndrewLouw 0:a32d085719df 1 typedef enum OpModesym {Setup, Canopy_on, Canopy_off, Manual, Error} OpModesym;
AndrewLouw 0:a32d085719df 2 typedef enum Errorsym {False,Switch_Error} Errorsym;
AndrewLouw 0:a32d085719df 3
AndrewLouw 0:a32d085719df 4
AndrewLouw 0:a32d085719df 5 OpModesym readswitches();
AndrewLouw 0:a32d085719df 6 void checkLDR(float &LDR1,float &LDR2);
AndrewLouw 0:a32d085719df 7 void checkMPPT(float MMPT);
AndrewLouw 0:a32d085719df 8 bool shouldmove(float MMPT,float LDR1,float LDR2,double Upperlimit,double Lowelimit,double *panel_locations);
AndrewLouw 0:a32d085719df 9 void getlocations(double Upperlimit, double Lowerlimit,double *panel_locations);
AndrewLouw 0:a32d085719df 10 void sendlocations(double *panel_locations);
AndrewLouw 0:a32d085719df 11 float toEncoder(double angle);
AndrewLouw 0:a32d085719df 12 void interruptHandler();