![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
This is a basic program that provides the necessary BLE service to allow communications with the UPAS
Dependencies: BLE_API mbed nRF51822 CronoDot EEPROM NCP5623BMUTBG ADS1115 BME280 Calibration_one MCP40D17 SDFileSystem LSM303 SI1145 STC3100
Fork of BLE_Button by
Diff: main.cpp
- Revision:
- 15:c9c93454dd56
- Parent:
- 14:4fc1788b8ad2
- Child:
- 16:e066ab7e8fb3
diff -r 4fc1788b8ad2 -r c9c93454dd56 main.cpp --- a/main.cpp Tue Nov 03 01:34:58 2015 +0000 +++ b/main.cpp Tue Nov 03 01:41:53 2015 +0000 @@ -78,9 +78,10 @@ }else if(params->handle == upasServicePtr->subjectLabelCharacteristic.getValueHandle()){ E2PROM.write(0x00001,writeData,15); - }else if(params->handle == upasServicePtr->twentyFourHourCharacteristic.getValueHandle()){ + }else if(params->handle == upasServicePtr->runReadyCharacteristic.getValueHandle()){ /* Trigger twenty-four run-time mode*/ RGB_LED.set_led(2,3,1); + //RunReady = 2; }else if(params->handle == upasServicePtr->runModeCharacteristic.getValueHandle()){ /* Trigger demo mode*/