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

Committer:
nikitateggi
Date:
Mon May 08 05:19:22 2017 +0000
Revision:
12:ab85607bb10a
Parent:
1:8316c23ec6b9
POC code with new display and updated BP

Who changed what in which revision?

UserRevisionLine numberNew 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