The wiringPi package

[Tags:bsd3, library, program]

This is a Haskell binding to the wiringPi library, which allows you to interface with the GPIO pins on the Raspberry Pi. Unlike some other solutions for using the Raspberry Pi's GPIO pins, wiringPi provides access to more advanced features, such as enabling the internal pull-up or pull-down resistors.


[Skip to Readme]

Properties

Versions 0.1.0.0, 1.0
Change log CHANGELOG
Dependencies base (>=4.6 && <5), wiringPi [details]
License BSD3
Copyright © Patrick Pelletier, 2017
Author Patrick Pelletier
Maintainer code@funwithsoftware.org
Stability Unknown
Category Hardware
Home page https://github.com/ppelleti/hs-wiringPi
Bug tracker https://github.com/ppelleti/hs-wiringPi/issues
Source repository head: git clone https://github.com/ppelleti/hs-wiringPi.git
Uploaded Tue Jan 24 02:02:46 UTC 2017 by ppelleti
Distributions NixOS:1.0
Downloads 36 total (8 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-01-24 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for wiringPi

Readme for wiringPi-1.0

This is a Haskell binding to the wiringPi library, which allows you to interface with the GPIO pins on the Raspberry Pi. Unlike some other solutions for using the Raspberry Pi's GPIO pins, wiringPi provides access to more advanced features, such as enabling the internal pull-up or pull-down resistors.

To use this library, you must either run as root, or set the WIRINGPI_GPIOMEM environment variable. (Set it to anything; the value does not matter.) However, PWM will not work if WIRINGPI_GPIOMEM is set.

This library will only build on the Raspberry Pi. Before building this library, you must install the "wiringPi" C library on your Raspberry Pi, like this:

sudo apt-get install wiringpi

Tested on a Raspberry Pi Model B, with Raspbian Jessie Lite, using the system-provided Haskell compiler. (GHC 7.6.3.)

This Haskell binding is licensed under the 3-clause BSD license, and the examples in the examples directory are in the public domain. However, be aware that the wiringPi C library itself is licensed under the LGPLv3+.