gpiod

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

  1. Add the dependency to your shard.yml:

    dependencies:
      gpiod:
        github: tijn/gpiod
    
  2. Run shards install

Usage

require "gpiod"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/tijn/gpiod/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

gpiod

Owner
Statistic
  • 1
  • 1
  • 0
  • 0
  • 0
  • almost 3 years ago
  • December 29, 2021
License

GNU General Public License v3.0

Links
Synced at

Thu, 07 Nov 2024 05:40:07 GMT

Languages