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@1:8316c23ec6b9, 2017-01-30 (annotated)
- Committer:
- nikitateggi
- Date:
- Mon Jan 30 07:45:41 2017 +0000
- Revision:
- 1:8316c23ec6b9
POC code
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 |