MrYsLab / telemetrix-aio

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

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

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

Resolve with release 1.11