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 Volckens Group Sensors

Revision:
80:5487ba127c82
Parent:
79:ed555e9081d0
Child:
81:480f0310ef9a
--- a/main.cpp	Tue Sep 15 01:52:08 2015 +0000
+++ b/main.cpp	Tue Sep 15 02:29:57 2015 +0000
@@ -263,7 +263,10 @@
     //    RunReady = 0;
     //}
     uint8_t temp_crr = Menu.crr;
-    if(RunReady == 0) {
+    if(Menu.crr == 2){  // if in Demo mode allow 1 second for each menu to change out of demo mode
+        Menu.Start(pc, E2PROM, RTC, logInerval, refreshtime, volflowSet, device_name, dutyUp, dutyDown, home_lat, home_lon, work_lat, work_lon, Menu.menu_ops, 2, serial_num, calibrations);  //Forces you to open the menu
+        bleMenu.open_menu(txPayload, rxCharacteristic, E2PROM, RTC, logInerval, refreshtime, volflowSet, device_name, dutyUp, dutyDown, home_lat, home_lon, work_lat, work_lon, Menu.menu_ops ,RunReady, 3, serial_num, calibrations);
+    }else if(RunReady == 0) {
         RGB_LED.set_led(0,1,1); // error code/color
         pc.printf("Change Name\r\n");
         while(RunReady == 0) {