Read from register on I2C device
[
returns data from the register on the I2C device as a scalar.value
] = readRegister(myi2cdevice
,register
,dataPrecision
)
The readRegister
method stops when it finishes reading the
specified data from the register, or when the timeout period elapses.
disableI2C
| enableI2C
| i2cdev
| raspi
| read
| scanI2CBus
| showPins
| write
| writeRegister