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
glc.h@5:a3ea7c82b7e1, 2017-03-30 (annotated)
- Committer:
- suhasini
- Date:
- Thu Mar 30 11:34:04 2017 +0000
- Revision:
- 5:a3ea7c82b7e1
- Parent:
- 1:8316c23ec6b9
PID updation possible, Proper screen navigation enabled, Return functionality from BP to main screen-done, date-time format modified, BP data not saved into SD card
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nikitateggi | 1:8316c23ec6b9 | 1 | #ifndef GLC_H_ |
nikitateggi | 1:8316c23ec6b9 | 2 | #define GLC_H_ |
nikitateggi | 1:8316c23ec6b9 | 3 | |
nikitateggi | 1:8316c23ec6b9 | 4 | |
nikitateggi | 1:8316c23ec6b9 | 5 | #include "mbed.h" |
nikitateggi | 1:8316c23ec6b9 | 6 | #define THRESHOLD 9000 |
nikitateggi | 1:8316c23ec6b9 | 7 | #define SAMPLE_TIME 8 |
nikitateggi | 1:8316c23ec6b9 | 8 | #define COMPUTE_TIME 2250 |
nikitateggi | 1:8316c23ec6b9 | 9 | #define VREF 3.3 |
nikitateggi | 1:8316c23ec6b9 | 10 | #define TOTAL 65535 |
nikitateggi | 1:8316c23ec6b9 | 11 | #define NUMB1 929.3 |
nikitateggi | 1:8316c23ec6b9 | 12 | #define NUMB2 381.5 |
nikitateggi | 1:8316c23ec6b9 | 13 | #define alpha 0.99 |
nikitateggi | 1:8316c23ec6b9 | 14 | #define beta 0.01 |
nikitateggi | 1:8316c23ec6b9 | 15 | |
nikitateggi | 1:8316c23ec6b9 | 16 | void glc(int pid); |
nikitateggi | 1:8316c23ec6b9 | 17 | |
nikitateggi | 1:8316c23ec6b9 | 18 | #endif |