HRM1017による温度計のサンプルコード。ADT7410で使えるように修正しています。

Dependencies:   ADT7410 BLE_API TMP102 mbed nRF51822

Fork of BLE_HTM_HRM1017 by Yoshihiro TSUBOI

Files at this revision

API Documentation at this revision

Comitter:
todotani
Date:
Sat Sep 06 08:06:19 2014 +0000
Parent:
4:07c2b2738d58
Child:
6:c3d9dbadd654
Commit message:
BLE_Health_Thermometer; Modified for HRM 1017 and correct DISCONNECT event processing

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
nRF51822.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Sep 06 00:45:30 2014 +0000
+++ b/main.cpp	Sat Sep 06 08:06:19 2014 +0000
@@ -55,7 +55,7 @@
 {
     advertisingStateLed = 1;
     
-    DEBUG("Disconnected handle %u!\n\r", handle);
+    DEBUG("Disconnected handle %u, reason %u\n", handle, reason);
     DEBUG("Restarting the advertising process\n\r");
     ble.startAdvertising();
 }
--- a/nRF51822.lib	Sat Sep 06 00:45:30 2014 +0000
+++ b/nRF51822.lib	Sat Sep 06 08:06:19 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/todotani/code/nRF51822-hrm1017/#eb36b5b876a3
+http://mbed.org/users/todotani/code/nRF51822-060mod/#97823585e091