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.
Revision 10:5220f45c8ec1, committed 2017-07-18
- Comitter:
- silviaChen
- Date:
- Tue Jul 18 09:48:42 2017 +0000
- Parent:
- 9:2ff66a3d164a
- Commit message:
- Modify SDA/SCL configured pin to support NQ620 and NNN50 platform
Changed in this revision
hts221.cpp | Show annotated file Show diff for this revision Revisions of this file |
uvis25.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/hts221.cpp Tue Jul 18 09:34:06 2017 +0000 +++ b/hts221.cpp Tue Jul 18 09:48:42 2017 +0000 @@ -16,7 +16,7 @@ #include <mbed.h> #include "hts221.h" -I2C i2c(p26, p27); //SDA, SCL +I2C i2c(SDA, SCL); //SDA, SCL /*lint ++flb "Enter library region" */
--- a/uvis25.cpp Tue Jul 18 09:34:06 2017 +0000 +++ b/uvis25.cpp Tue Jul 18 09:48:42 2017 +0000 @@ -16,7 +16,7 @@ #include <mbed.h> #include "uvis25.h" -I2C i2c_uvi(p26, p27); //SDA, SCL +I2C i2c_uvi(SDA, SCL); //SDA, SCL static const char uvis25_expected_who_am_i = 0xCAU; //!< Expected value to get from WHO_AM_I register.