mirror of https://github.com/arendst/Tasmota.git
Parameters of I2cWrite8() fixed.
parent
c494760f1d
commit
5a9793f5b7
|
@ -209,7 +209,7 @@ Functions with a `S` read signed data types while functions without a `S` read u
|
|||
Functions with LE read little endian byte order while functions without LE read machine byte order.
|
||||
|
||||
|
||||
#### bool I2cWrite8(uint8_t addr, uint8_t reg, uint16_t val)
|
||||
#### bool I2cWrite8(uint8_t addr, uint8_t reg, uint8_t val)
|
||||
#### bool I2cWrite16(uint8_t addr, uint8_t reg, uint16_t val)
|
||||
#### bool I2cWrite(uint8_t addr, uint8_t reg, uint32_t val, uint8_t size)
|
||||
These functions return true after successfully writing 1, 2 or `size` bytes to the I2C address `addr` and register `reg`.
|
||||
|
|
Loading…
Reference in New Issue