github.com/tijn/gpiod
main / published Dec 30, 2021 / repository
Crystal bindings for the new Linux kernel GPIO user space interface (/dev/gpiochip*)
gpiod
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.
Installation
-
Add the dependency to your
shard.yml:dependencies: gpiod: github: tijn/gpiod -
Run
shards install
Usage
require "gpiod"
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- 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
Contributors
- Tijn Schuurmans - creator and maintainer