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:
- 113:846f67efaa80
- Parent:
- 112:fd14d51e3493
- Child:
- 114:84e759e07948
diff -r fd14d51e3493 -r 846f67efaa80 main.cpp --- a/main.cpp Wed Feb 17 02:06:46 2016 +0000 +++ b/main.cpp Wed Feb 17 03:16:59 2016 +0000 @@ -166,6 +166,7 @@ } +/* void check_stop() // this checks if it's time to stop and shutdown { @@ -268,6 +269,8 @@ fclose(fp); } +*/ + /*EEPROM ADDRESSING: 0:Status bit-Unused 1-15:Device Name @@ -381,6 +384,7 @@ } E2PROM.read(0x00015, startAndEndTime, 12); //Grab start and end times from EEPROM + RGB_LED.set_led(1,0,1); while(!RTC.compare(startAndEndTime[0], startAndEndTime[1], startAndEndTime[2], startAndEndTime[3], startAndEndTime[4], startAndEndTime[5])) { // this while waits for the start time by looping until the start time wait(0.5);