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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers glc.h Source File

glc.h

00001 #ifndef GLC_H_
00002 #define GLC_H_
00003 
00004 
00005 #include "mbed.h"
00006 #define THRESHOLD 9000
00007 #define SAMPLE_TIME 8
00008 #define COMPUTE_TIME 2250
00009 #define VREF 3.3
00010 #define TOTAL 65535
00011 #define NUMB1 929.3
00012 #define NUMB2 381.5
00013 #define alpha 0.99
00014 #define beta 0.01
00015 
00016 void glc(int pid);
00017 
00018 #endif