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.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: i2c_api.h
- Revision:
- 120:7c328cabac7e
- Parent:
- 118:082adc85693f
- Child:
- 122:f9eeca106725
diff -r aae6fcc7d9bb -r 7c328cabac7e i2c_api.h --- a/i2c_api.h Wed Apr 27 12:10:56 2016 -0500 +++ b/i2c_api.h Tue May 10 12:23:43 2016 -0500 @@ -124,7 +124,7 @@ /** Write one byte. * @param obj The i2c object * @param data Byte to be written - * @return 1 if NAK was received, 0 if ACK was received, 2 for timeout. + * @return 0 if NAK was received, 1 if ACK was received, 2 for timeout. */ int i2c_byte_write(i2c_t *obj, int data);


