code with new display driver ili9341
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of Int_Demo_09May2017_Suhasini_HRavg_Nik_BT_ba_update4thJuly17_nikita7july by
Diff: glc.h
- Revision:
- 1:8316c23ec6b9
- Child:
- 22:ffa88619551d
--- /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