feeph / libi2c-python

abstraction layer for the I²C bus (incl. simulation for testing)
GNU General Public License v3.0
1 stars 0 forks source link

feat: provide a context manager for read/write operations #20

Closed feeph closed 3 months ago

feeph commented 3 months ago

This is a different way to implement the same functionality as read_device_registers() and write_device_register() when scheduling multiple read/write operations on the same device.