Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
glc.h@1:8316c23ec6b9, 2017-01-30 (annotated)
- Committer:
- nikitateggi
- Date:
- Mon Jan 30 07:45:41 2017 +0000
- Revision:
- 1:8316c23ec6b9
- Child:
- 22:ffa88619551d
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 |