Michio Ono / Mbed 2 deprecated BLE_ADT7410_TMP102_Sample

Dependencies:   ADT7410 BLE_API_Native_IRC TMP102 mbed

Fork of BLE_Health_Thermometer_IRC by Yoshihiro TSUBOI

Files at this revision

API Documentation at this revision

Comitter:
micono
Date:
Mon Jul 21 06:48:12 2014 +0000
Parent:
6:58ac5eb16aec
Commit message:
fixed i2c bus speed from 400 to 400000

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 58ac5eb16aec -r b576848f8800 main.cpp
--- a/main.cpp	Sun Jul 20 04:04:22 2014 +0000
+++ b/main.cpp	Mon Jul 21 06:48:12 2014 +0000
@@ -22,7 +22,7 @@
 #define UseADT7410 1
 #if UseADT7410
     #include "ADT7410.h"
-    ADT7410 healthThemometer(p22, p20, 0x90, 400);
+    ADT7410 healthThemometer(p22, p20, 0x90, 400000);
 #else
     #include "TMP102.h"
     TMP102 healthThemometer(p22, p20, 0x90);  /* The TMP102 connected to our board */
@@ -38,9 +38,6 @@
 DigitalOut  advertisingStateLed(LED2); /* LED2 is on when we are advertising, otherwise off. */
 
 
-
-
-
 #define KONASHI 1
 #if KONASHI
 /* Health Thermometer Service */