mirror of https://github.com/periph/devices
i2c: convert from "number only" to named buses plus aliases (#119)
This is a breaking change. This is closer to how gpio behaves yet different in practice because of the different challenges. spi will be updated later to behave the same. Add support for aliases, which is very useful, and it permits the CLI tools to accept a free form string to specify the bus name. - Increase test coverage of i2c and i2ctest to 100%. - Add i2c.Pins implementation to i2ctest.Playback.pull/1/head
parent
d7c75db11b
commit
f14be69810
Loading…
Reference in New Issue