Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MAX86150_ECG_PPG by
Diff: main.cpp
- Revision:
- 3:a7df33374b48
- Parent:
- 2:c8b7ef52c65c
- Child:
- 4:3c728f3d1f10
diff -r c8b7ef52c65c -r a7df33374b48 main.cpp
--- a/main.cpp	Wed Jan 04 23:14:42 2017 +0000
+++ b/main.cpp	Wed Jan 04 23:16:05 2017 +0000
@@ -266,8 +266,8 @@
 //    char newReadPointer;
 //    clearInterrupts(stat);
     //get FIFO position
-    readRegisters(MAX86150_Addr, FIFOReadPointerReg, i2cReadBuffer, 1); //you can do more sophisticated stuff looking for missed samples, but I'm keeping this lean and simple
-    char readPointer = i2cReadBuffer[0];
+//    readRegisters(MAX86150_Addr, FIFOReadPointerReg, i2cReadBuffer, 1); //you can do more sophisticated stuff looking for missed samples, but I'm keeping this lean and simple
+//    char readPointer = i2cReadBuffer[0];
 //    while(!dataValid) {
 //        tries++;
         //try reading FIFO
    
