Followed lateest libraries (BLE ,mbed and nRF51822)

Dependencies:   BLE_API mbed nRF51822 BLE_HTM_by_InTempSensr_pub

Dependents:   BLE_HTM_by_InTempSensr_pub

Fork of BLE_HTM_by_InTempSensr by Nakatafu ☆

Revision:
6:182013fa5592
Parent:
3:fe1294ff1d93
Child:
7:b8e9a93ba3b5
diff -r de9d4f4bea7d -r 182013fa5592 main.cpp
--- a/main.cpp	Tue Feb 17 14:38:21 2015 +0000
+++ b/main.cpp	Sun Apr 26 11:54:42 2015 +0000
@@ -16,8 +16,8 @@
 
 #include "mbed.h"
 #include "BLEDevice.h"
-#include "ble_hrs.h"
-#include "ble_hts.h"
+// #include "ble_hrs.h"
+// #include "ble_hts.h"
 
 #include "nrf_soc.h" // for internal Thermo sensoer
 
@@ -156,7 +156,7 @@
     int32_t p_temp;
     sd_temp_get(&p_temp);
     float temperature = float(p_temp)/4.;
-    temperature -= 16.;
+    temperature -= 14.; // It should be changed device by device. 
            
     DEBUG("temp:%f\n\r", temperature);
     uint32_t temp_ieee11073 = quick_ieee11073_from_float(temperature);