Haskell GPIO interface, designed specifically for the RaspberryPi.

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by Tyler Olson
Maintained by

Haskell GPIO interface, designed specifically for the RaspberryPi.

This library also ships with an executable for directly running gpio commands. Note: when using the executable there are less guarantees about the current state of a pin. For example, when using the library we can be sure that an ActivePin 'Out has already been initialized and configured for writing values, when using the executable we are less sure, and therefore errors might occur.

Note: this package has limited functionality, might be buggy and is not optimized. It works for simple read/write operations on a few pre-defined pins, but still needs a lot more testing.

TODO: Remove runLineHack when reading GPIO value files. Optimize file reading to only look at first char. Support other pin modes (in/out/up/down/pwm) Support edges Look into GPIO supported file watching Add all pin numbers

Used by 1 package:
comments powered byDisqus