Changes done in ECG and BT

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of merged_code2_20sept_2017_4th_oct_2017 by nikita teggi

glc.h

Committer:
nikitateggi
Date:
2017-06-23
Revision:
22:ffa88619551d
Parent:
1:8316c23ec6b9
Child:
43:85a7f399cb9d

File content as of revision 22:ffa88619551d:

#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(int32_t pid);

#endif