Andrew Louw
/
TrackingMBED
MBED Framework with communication to be tested
PROTOTYPES.h@4:85bc76bb6fdb, 2017-07-23 (annotated)
- Committer:
- AndrewLouw
- Date:
- Sun Jul 23 20:29:38 2017 +0000
- Revision:
- 4:85bc76bb6fdb
- Parent:
- 3:5995028595d2
Republish MBED 145
Who changed what in which revision?
User | Revision | Line number | New 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 | 1:e8c5a9654f5f | 7 | void checkMPPT(float *MMPT); |
AndrewLouw | 2:64443528f6bb | 8 | bool shouldmove(float *MMPT,float LDR1,float LDR2,double Upperlimit,double Lowelimit,uint8_t *panel_locations); |
AndrewLouw | 2:64443528f6bb | 9 | void getlocations(double Upperlimit, double Lowerlimit,uint8_t *panel_locations); |
AndrewLouw | 2:64443528f6bb | 10 | void sendlocations(uint8_t *panel_locations); |
AndrewLouw | 1:e8c5a9654f5f | 11 | uint8_t toEncoder(double angle); |
AndrewLouw | 3:5995028595d2 | 12 | void interruptHandler(); |
AndrewLouw | 3:5995028595d2 | 13 | void spi_send(uint8_t write_buf [8],uint8_t decoded_buf[7]); |