Added 4 point or 8 point averaging function .

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of merged_code2_3rd_nov_2017 by nikita teggi

Revision:
22:ffa88619551d
Parent:
21:7ef1b0b40841
Child:
31:0f67acfc6236
diff -r 7ef1b0b40841 -r ffa88619551d bp.cpp
--- a/bp.cpp	Wed Jun 21 08:39:10 2017 +0000
+++ b/bp.cpp	Fri Jun 23 07:25:24 2017 +0000
@@ -33,7 +33,7 @@
 //FILE *ecg;
 //FILE *ppg;
     
- void bp(int pid) {
+ void bp(int32_t pid) {
     
     uint8_t uch_dummy;
     uint32_t ppgdata;