Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@TeyKey1 TeyKey1 released this 21 Jan 18:38

Breaking changes!

  • Updated to embedded-hal v1.0
  • Added destroy() functions to expander impls which allows driver users to retrieve the I2C bus and interrupt pin
  • Fixed some documentation examples + typos

Migration

As a general migration guideline to embedded-hal v1 consult the migration guide

For users of PCA9535 most things should work out of the box. Only change required is that due to the InputPin trait now taking &mut self you need to modify the interrupt pin provided to the cached expander struct to be mutable.
In cases you have previously used shared-bus for I2C bus sharing it is now recommended to switch to embedded-hal-bus instead.