This repository has been archived by the owner. It is now read-only.

gpio.cr

[unmaintained] GPIO using sysfs interface

gpio.cr

GPIO access using sysfs interface in Crystal.

Installation

Add this to your application's shard.yml:

dependencies:
  gpio:
    github: petoem/gpio.cr

Usage

require "gpio"

GPIO.pin_mode 0, GPIO::INPUT
puts GPIO.read_pin 0

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/petoem/gpio.cr/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

  • petoem Michael Petö - creator, maintainer
Repository

gpio.cr

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 0
  • over 6 years ago
  • October 8, 2017
License

MIT License

Links
Synced at

Sun, 05 May 2024 20:29:46 GMT

Languages