I2C Hello World, I2C Example
Fork of I2C_HelloWorld_Mbed by
Use
The mbed I2C API uses 8 bit addressing and will auto append the 0 or 1 for read/write mode. Please keep in mind that every I2C set up has its own quirks so this example may not work out of the box for your sensor / application. Make sure to check the data sheet for your part for the timing / register access specification.
API
API reference.
Import librarymbed
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
5:afb2d7fd50ad | 2017-06-23 | sarahmarshy |
"Update mbed-os" |
4:fa13d56ff9ff | 2017-01-19 | mab5449 | Ported mbed OS 2 to mbed OS 5 |
3:df6232c70efd | 2015-03-27 | mbedAustin | Added license to main.c file. |
2:ab0e4b55d7da | 2014-09-21 | mbedAustin | added notes on use for clarity. made it obvious we use 8bit addressing |
1:e8a851d1b143 | 2014-09-21 | mbedAustin | update libs; |
0:f76c26307f9a | 2013-02-14 | mbed_official | I2C HelloWorld |