Interact with hardware in Elixir - GPIOs, I2C and SPI
Backwards incompatible changes
This release cleans up the naming of every module. All modules are now
in the ElixirALE
namespace and capitalized since they are acronyms.
For example, if you were using the I2c
module, it's now ElixirALE.I2C
.
You may want to alias ElixirALE.I2C
in your programs to save typing.
true
and false
can now be passed to Gpio.write/2
Gpio.read/1
with interrupts
enabledI2c.detect_devices/1
to scan the I2C busI2c.read_device/3
, etc. to support devices on more than one I2C
address without needing to create multiple I2c serverspriv
directory in v0.4.0 was insufficient. This
release has what is believe to be the correct fix.