gpiod

Version, currently main branch1 version
  • main branchlatestDec 30, 2021

github.com/tijn/gpiod

Crystal bindings for the new Linux kernel GPIO user space interface (/dev/gpiochip*)

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  gpiod:
    github: tijn/gpiod
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.2.2
License
MIT
Author
Tijn Schuurmans

Dependencies

This version declares no dependencies.

README

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