Elixir Ale Versions Save

Interact with hardware in Elixir - GPIOs, I2C and SPI

v1.2.1

5 years ago
  • Bug fixes
    • Fixed incorrect edge notifications when registering for only rising or falling interrupts. Thanks to jsimmons2 for this fix.

v1.2.0

5 years ago
  • New features

    • Add GPIO.pin/1 to get the pin number back. Thanks to @jjcarstens
    • Add child_specs/1 to support creating GPIOs in supervisors
  • Improvements

    • Various spec improvements

v1.1.0

5 years ago

This release will work with Elixir 1.7. Support for Elixir versions before 1.6 has been dropped.

  • Improvements
    • Add :start_value to initialize a GPIO. Thanks to @jjcarstens for this feature.

v1.0.3

6 years ago
  • Bug fixes
    • Remove catchall receive handlers that would capture GenServer.call messages when functions were called by multiple threads
    • Timeout all port calls just in case. This hasn't been observed to my knowledge, but seems like a sensable precaution. The timeout is absurdly long (500 ms) so it shouldn't trigger.
    • Pass errors detected by C code to Elixir rather than crashing

v1.0.2

6 years ago
  • Bug fixes

    • Fix memory overrun when using large I2C transfers. This only affected a few devices since most devices maxed out at much smaller sizes. Also add compile-time check to prevent this from happening again.
  • Improvements

    • Increase max SPI transfer size to 4096. This aligns it with py-spidev and enables communication with the Unicorn Hat HD.

v1.0.1

6 years ago
  • Bug fixes

    • Fixed typespec for set_int/2. Thanks to tmecklem for catching the ommission.
  • Improvements

    • Various documentation and code formatting updates

v1.0.0

7 years ago
  • No changes since v0.7.0.

v0.7.0

7 years ago
  • New features
    • Added and improved helper functions for finding I2C devices and I2C and SPI buses.

v0.6.2

7 years ago
  • Bug fixes
    • Fix message buffer size that was too small for really large I2C transfers
    • Many documentation improvements from Axel Clark.

v0.6.1

7 years ago
  • Bug fixes
    • Enlarge I2C buffer size to support some OLED displays
    • Support compilation on non-Linux platforms. It won't work, but this makes it possible to have unconditional deps on elixir_ale in multiplatform projects.