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
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
3:df6232c70efd | 2015-03-27 | Added license to main.c file. | File Diff Annotate |
2:ab0e4b55d7da | 2014-09-21 | added notes on use for clarity. made it obvious we use 8bit addressing | File Diff Annotate |
0:f76c26307f9a | 2013-02-14 | I2C HelloWorld | File Diff Annotate |