From b6ef1ffee7366f0b8cb650424a2b308d5d283c20 Mon Sep 17 00:00:00 2001 From: thirschbuechler Date: Mon, 20 Mar 2017 21:30:43 +0100 Subject: [PATCH] Add 7bit address info (#1834) --- docs/en/modules/i2c.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/modules/i2c.md b/docs/en/modules/i2c.md index c7ef9afc..a81ce37d 100644 --- a/docs/en/modules/i2c.md +++ b/docs/en/modules/i2c.md @@ -11,7 +11,7 @@ Setup I²C address and read/write mode for the next transfer. #### Parameters - `id` always 0 -- `device_addr` device address +- `device_addr` 7-bit device address, remember that [in I²C `device_addr` represents the upper 7 bits](http://www.nxp.com/documents/user_manual/UM10204.pdf#page=13) followed by a single `direction` bit - `direction` `i2c.TRANSMITTER` for writing mode , `i2c. RECEIVER` for reading mode #### Returns