MBED Framework with communication to be tested

Dependencies:   mbed

Revision:
0:a32d085719df
Child:
1:e8c5a9654f5f
diff -r 000000000000 -r a32d085719df PROTOTYPES.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PROTOTYPES.h	Wed Jun 14 13:55:31 2017 +0000
@@ -0,0 +1,12 @@
+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);
+float toEncoder(double angle);
+void interruptHandler();
\ No newline at end of file