Current section

Files

Jump to
circuits_gpio CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
## v0.4.3
* Bug fixes
* Fix GPIO glitch suppression when interrupts were enabled. Glitch suppression
filters out transitions on a GPIO line that are too fast for Linux and the
NIF to see both the rising and falling edges. Turning it off synthesizes
events. You can identify synthesized events since they have the same
timestamp to the nanosecond. See `Circuits.GPIO.set_interrupts/3`.
* Improvement
* It's possible to enable the "stub" on Linux by setting
`CIRCUITS_MIX_ENV=test`. This can be useful for unit testing code that uses
Circuits.GPIO. Thanks to Enrico Rivarola for adding this!
## v0.4.2
* Bug fixes
* Fix pullup/pulldown support for the Raspberry Pi 4
## v0.4.1
* Bug fixes
* Fix a race condition on Raspbian where Circuits.GPIO would try to open the
GPIO sysfs file before udev had a chance to fix its permissions.
* Fix RPi platform detection on Raspbian so that pull-ups/pull-downs work
without passing any flags.
## v0.4.0
The GPIO interrupt notification messages have been changed for consistency with
other circuits projects. The initial element of the tuple is now
`:circuits_gpio`, so messages will look like:
`{:circuits_gpio, 19, 83268239, 1}`
Please update your project if you call `set_interrupts/2`.
No more backwards incompatible changes are expected until after 1.0.
## v0.3.1
* Bug fixes
* Build C source under the `_build` directory so that changing targets
properly rebuilds the C code as well as the Elixir.
## v0.3.0
* New features
* Support `pull_mode` initializion in `open/3`.
## v0.2.0
* New features
* Add support for opening GPIOs to an initial value or to not change the
value. This removes a glitch if you want the GPIO to start out high (the
default was low) or if you want the GPIO to keep its current value.
## v0.1.0
Initial release to hex.