Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ADT7410 BLE_API_Native_IRC TMP102 mbed
Fork of BLE_Health_Thermometer_IRC by
Revision 7:b576848f8800, committed 2014-07-21
- 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 */