Demo to get the die sensors value of 51822

Dependencies:   BLE_API Sensors mbed nRF51822

Fork of BLE_TemperatureAdvertising by xiao sun

Files at this revision

API Documentation at this revision

Comitter:
helloqi
Date:
Mon Feb 22 08:55:35 2016 +0000
Parent:
5:d30cc8560678
Commit message:
change

Changed in this revision

Sensors.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d30cc8560678 -r b3d3351aadc6 Sensors.lib
--- a/Sensors.lib	Mon Feb 22 03:03:01 2016 +0000
+++ b/Sensors.lib	Mon Feb 22 08:55:35 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/helloqi/code/Sensors/#9125dafacc63
+https://developer.mbed.org/users/helloqi/code/Sensors/#ee98296289d0
diff -r d30cc8560678 -r b3d3351aadc6 main.cpp
--- a/main.cpp	Mon Feb 22 03:03:01 2016 +0000
+++ b/main.cpp	Mon Feb 22 08:55:35 2016 +0000
@@ -16,7 +16,7 @@
 Sensors tempSensor;
 DigitalOut led(P0_20);
 static bool triggerTempValueUpdate = false;
-const static char     DEVICE_NAME[8] = "Linkaa";
+const static char   DEVICE_NAME[8] = "ls_test";   /*The size of the DEVICE_NAME[] can't change  */
 
 void periodicCallback(void)
 {