@hackage hpio0.9.0.7

Monads for GPIO in Haskell

  • Installation

  • Tested Compilers

  • Dependencies (18)

  • Dependents (3)

    @hackage/pinpon, @hackage/mellon-gpio, @hackage/mellon-web
  • Package Flags

      examples
       (on by default)

      Build the example programs

      linux-bbone-tests
       (off by default)

      Enable Linux BeagleBone-specific tests. Disabled by default. See testSystemGPIOLinuxSysfs/BeagleBoneSpec.hs for requirements. Run with "cabal test -flinux-bbone-tests".

      test-doctests
       (on by default)

      Build doctests

      test-hlint
       (off by default)

      Build hlint test

hpio

hpio provides support for writing GPIO programs in Haskell. It includes an embedded DSL for writing platform-independent programs, along with low-level monads and IO functions which provide direct access to each supported platform's native GPIO API.

Currently only the Linux sysfs GPIO filesystem is supported, but support for other Unix GPIO platforms is planned.

For details on usage, see the included tutorial module, or the examples directory in the source distribution.

Travis CI build status