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.
Fork of i2c_detect by
Revision 2:a3d553fa1a65, committed 2017-10-18
- Comitter:
- wrxavex
- Date:
- Wed Oct 18 16:11:22 2017 +0000
- Parent:
- 1:624dc0072a11
- Commit message:
- edit for i2c
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 624dc0072a11 -r a3d553fa1a65 main.cpp
--- a/main.cpp Tue Nov 10 13:29:27 2015 +0000
+++ b/main.cpp Wed Oct 18 16:11:22 2017 +0000
@@ -1,7 +1,8 @@
#include "mbed.h"
//SDA , SCL
-I2C i2cBus(I2C_SDA, I2C_SCL);
+//I2C i2cBus(I2C_SDA, I2C_SCL);
+I2C i2cBus(p9, p10);
int main()
{
diff -r 624dc0072a11 -r a3d553fa1a65 mbed.bld --- a/mbed.bld Tue Nov 10 13:29:27 2015 +0000 +++ b/mbed.bld Wed Oct 18 16:11:22 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/9296ab0bfc11 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/25aea2a3f4e3 \ No newline at end of file
