Add 7bit address info (#1834)

This commit is contained in:
thirschbuechler 2017-03-20 21:30:43 +01:00 committed by Marcel Stör
parent d9b3db06f6
commit b6ef1ffee7
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Setup I²C address and read/write mode for the next transfer.
#### Parameters #### Parameters
- `id` always 0 - `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 - `direction` `i2c.TRANSMITTER` for writing mode , `i2c. RECEIVER` for reading mode
#### Returns #### Returns