Skip to content

Improved and extended

Choose a tag to compare

@kplindegaard kplindegaard released this 07 Sep 10:13

New/added features

  • SMBus.init(), SMBus.open(): bus can be a file path as well (issue #17).
  • The folllowing SMBus commands added (last two normally not supported by pure i2c-devices):
    • process_call,
    • write_block_data,
    • read_block_data,
    • block_process_call.
  • Enter/exit handlers moved to SMBus class.
  • Expose enumerations of i2c functionality flags in the I2cFunc class and exported that.
  • Added convenience features making the i2c_msg class easier to work with.

Deprecation warning

  • The SMBusWrapper class is now considered deprecated. Please update your code to use SMBus instead.