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
mbed-os.lib
- Committer:
- sarahmarshy
- Date:
- 2017-06-23
- Revision:
- 5:afb2d7fd50ad
- Parent:
- 4:fa13d56ff9ff
File content as of revision 5:afb2d7fd50ad:
https://github.com/ARMmbed/mbed-os/#c9e63f14085f5751ff5ead79a7c0382d50a813a2