The sysfs interface (/sys/class/gpio
) has been deprecated for a while so this library implements bindings for the chardev interface that replaces it.
You can read more about it here.
-
Add the dependency to your
shard.yml
:dependencies: gpiod: github: tijn/gpiod
-
Run
shards install
require "gpiod"
TODO: Write usage instructions here
TODO: Write development instructions here
- Fork it (https://github.com/tijn/gpiod/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Tijn Schuurmans - creator and maintainer