MrYsLab / telemetrix

A user-extensible replacement for StandardFirmata. All without the complexity of Firmata!
GNU Affero General Public License v3.0
68 stars 26 forks source link

Update i2c read to do a "read only" #27

Closed MrYsLab closed 2 years ago

MrYsLab commented 2 years ago

Add a parameter to i2c_read to suppress writing to the register before the read. This update allows one to continuously read a device that only has a single register for configuration. Currently, if the register parameter is set to None, the register value is considered zero, and register zero is written to before the read.

MrYsLab commented 2 years ago

Release 1.10 resolves this issue