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:
- 90:26a08de1a0ac
- Parent:
- 89:047e8558fd09
- Child:
- 91:f838d9a5b596
--- a/main.cpp Thu Sep 24 19:45:17 2015 +0000 +++ b/main.cpp Thu Sep 24 20:21:34 2015 +0000 @@ -315,11 +315,11 @@ Menu.crr = bleMenu.crr; // if this was changed in the UBM move it to the primary USM before saving Menu.save_menu(E2PROM, logInerval, refreshtime, volflowSet, device_name, dutyUp, dutyDown, home_lat, home_lon, work_lat, work_lon, RunReady, serial_num); //Save all data to the EEPROM } - if(Menu.crr != temp_crr) { - Menu.save_menu(E2PROM, logInerval, refreshtime, volflowSet, device_name, dutyUp, dutyDown, home_lat, home_lon, work_lat, work_lon, RunReady, serial_num); //Save all data to the EEPROM - //RunReady = ?; - goto Restart; - } + //if(Menu.crr != temp_crr) { + // Menu.save_menu(E2PROM, logInerval, refreshtime, volflowSet, device_name, dutyUp, dutyDown, home_lat, home_lon, work_lat, work_lon, RunReady, serial_num); //Save all data to the EEPROM + // //RunReady = ?; + // goto Restart; + //} pc.printf("You're done, you can now disconect the USB cable.\r\n"); RunReady = 0;