Releases: fhunleth/elixir_ale
Releases · fhunleth/elixir_ale
v1.2.1
v1.2.0
-
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
- Add
-
Improvements
- Various spec improvements
v1.1.0
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.
- Add
v1.0.3
- 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
- Remove catchall receive handlers that would capture GenServer.call
v1.0.2
-
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.
- Fix memory overrun when using large I2C transfers. This only affected a
-
Improvements
- Increase max SPI transfer size to 4096. This aligns it with py-spidev and
enables communication with the Unicorn Hat HD.
- Increase max SPI transfer size to 4096. This aligns it with py-spidev and