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 PRES11_I2C_Detect by
Revision 1:624dc0072a11, committed 2015-11-10
- Comitter:
- rlanghbv
- Date:
- Tue Nov 10 13:29:27 2015 +0000
- Parent:
- 0:9e51d4453b53
- Commit message:
- first commit
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Nov 09 13:21:03 2015 +0000 +++ b/main.cpp Tue Nov 10 13:29:27 2015 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" //SDA , SCL -I2C i2cBus(PB_9, PB_8); +I2C i2cBus(I2C_SDA, I2C_SCL); int main() { @@ -27,3 +27,4 @@ printf("\r\n"); } } +