Updated with option to return from BP screen to main screen, resolved screen navigation issues
Dependencies: SDFileSystem TFTLCD_8bit ds3231 program mbed
Fork of poc_dis_5 by
Diff: glc.h
- Revision:
- 1:8316c23ec6b9
diff -r c47fb0c1bbf6 -r 8316c23ec6b9 glc.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/glc.h Mon Jan 30 07:45:41 2017 +0000 @@ -0,0 +1,18 @@ +#ifndef GLC_H_ +#define GLC_H_ + + +#include "mbed.h" +#define THRESHOLD 9000 +#define SAMPLE_TIME 8 +#define COMPUTE_TIME 2250 +#define VREF 3.3 +#define TOTAL 65535 +#define NUMB1 929.3 +#define NUMB2 381.5 +#define alpha 0.99 +#define beta 0.01 + +void glc(int pid); + +#endif \ No newline at end of file