Andrew Louw
/
TrackingMBED
MBED Framework with communication to be tested
Diff: PROTOTYPES.h
- Revision:
- 1:e8c5a9654f5f
- Parent:
- 0:a32d085719df
- Child:
- 2:64443528f6bb
diff -r a32d085719df -r e8c5a9654f5f PROTOTYPES.h --- a/PROTOTYPES.h Wed Jun 14 13:55:31 2017 +0000 +++ b/PROTOTYPES.h Thu Jun 15 14:53:00 2017 +0000 @@ -4,9 +4,9 @@ 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 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); +uint8_t toEncoder(double angle); void interruptHandler(); \ No newline at end of file