Fix all the following issues which we faced during 01st April internal demo 1) Display hang and jump issue 2) Sequencing issue 3) Issue with BP code

Dependencies:   SDFileSystem ds3231 program mbed testUniGraphic_150217

Fork of Int_Demo_01Apr2017_newdisplaycode_bp_nikita by nikita teggi

glc.h

Committer:
nikitateggi
Date:
2017-05-08
Revision:
12:ab85607bb10a
Parent:
1:8316c23ec6b9

File content as of revision 12:ab85607bb10a:

#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