kplindegaard / smbus2

A drop-in replacement for smbus-cffi/smbus-python in pure Python
MIT License
243 stars 68 forks source link

SMBus Quick command #27

Closed kplindegaard closed 5 years ago

kplindegaard commented 5 years ago

Finally, issue #7 implemented.

New function in the SMBus class: write_quick(address) raises an IOError exception if there is no slave device responding on the given address. If all goes well and the device is there, no exception will be raised.