Releases: elixir-circuits/circuits_i2c
Releases · elixir-circuits/circuits_i2c
v2.1.0
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
This is a major update to Circuits.I2C that removes the requirement to use
Nerves or Linux. The API is almost the same and the default is to compile and
use the Linux backend, so changes may not be needed.
- Changes
- Support alternative backends for different operating systems or for
simulated hardware - For the Linux NIF, support passing a
:retry
count toCircuits.I2C.open/2
that will apply to all I2C operations. This simplifies dealing with devices
with flaky connections. - Defer loading the Linux NIF until
Circuits.I2C.open/2
is called - Return error on
Circuits.I2C.open/2
if the device isn't a real I2C device.
This was previously detected on the first operation. - For the Linux NIF, return errno numbers rather than their
strerr
strings
when they're unknown. It turned out that the strings could be more confusing
that the numbers.
- Support alternative backends for different operating systems or for
v2.0.0-pre.0
This is a major update to Circuits.I2C that removes the requirement to use
Nerves or Linux. The API is almost the same and the default is to compile and
use the Linux backend, so changes may not be needed.
This is a prerelease so APIs may still change before the v2.0.0 release.
- Changes
- Support alternative backends for different operating systems or for
simulated hardware - For the Linux NIF, support passing a
:retry
count toCircuits.I2C.open/2
that will apply to all I2C operations. This simplifies dealing with devices
with flaky connections. - Defer loading the Linux NIF until
Circuits.I2C.open/2
is called - Return error on
Circuits.I2C.open/2
if the device isn't a real I2C device.
This was previously detected on the first operation. - For the Linux NIF, return errno numbers rather than their
strerr
strings
when they're unknown. It turned out that the strings could be more confusing
that the numbers.
- Support alternative backends for different operating systems or for