Code supports writing to the SD card as well as working with the Volckens group smartphone apps for the mbed HRM1017
Dependencies: ADS1115 BLE_API BME280 Calibration CronoDot EEPROM LSM303 MCP40D17 NCP5623BMUTBG SDFileSystem SI1145 STC3100 mbed nRF51822
Fork of UPAS_BLE_and_USB by
Diff: main.cpp
- Revision:
- 101:0c3f33f14f4f
- Parent:
- 100:da71436aa52a
- Child:
- 102:d25eab697fe0
diff -r da71436aa52a -r 0c3f33f14f4f main.cpp --- a/main.cpp Tue Jan 12 21:00:34 2016 +0000 +++ b/main.cpp Wed Jan 13 18:16:45 2016 +0000 @@ -284,7 +284,7 @@ ble.init(); ble.onDisconnection(disconnectionCallback); ble.onDataWritten(WrittenHandler); //add writeCharCallback (custom function) to whenever data is being written to device - UPAS_Service upasService(ble, false,rtcPassValues,sampleTimePassValues,subjectLabelOriginal,dataLogOriginal,flowRateOriginal); //Create a GattService that is defined in UPAS_Service.h + UPAS_Service upasService(ble, false,rtcPassValues,sampleTimePassValues,subjectLabelOriginal,dataLogOriginal,flowRateOriginal,presetRunModeCheck); //Create a GattService that is defined in UPAS_Service.h upasServicePtr = &upasService; //Create a pointer to the service (Allows advertisement without specifically adding the service /* setup advertising