A Raspbian Wrapper for Wiring Pi

   
wiring-pi-package Packaging the WiringPi library for Raspbian.
Tags: pi-tronics pi raspberrypi gate software packaging raspbian.
Wed 09 October 2013, Hamish Cunningham.

Packaging the WiringPi library for Raspbian

A lot of our recent projects have used the excellent WiringPi library to talk to the Pi's electronics from software. A small frustration in this process has been the library's lack of integration into Raspbian... So I've written the code needed to do this, and made it available from GitHub.

The Pi's default operating system, Raspbian, is a version of Debian1, and has a very powerful system for distributing software and software updates. This system uses .deb files containing packaged versions of software, and it was the means to create one of these that was missing for WiringPi.

Now you can install WiringPi without having to download or compile it, like this:

  wget https://raw.github.com/hamishcunningham/wiringpi/master/package/2.13/unstable/wiringpi_2.13_armhf.deb
  sudo dpkg -i ./wiringpi_2.13_armhf.deb
Hopefully Gordon will find time to pull my changes into his own repository and pass the package on to the Raspbian people one of these days, which will make the process even easier.

Gordon also has lots of good examples and reference materials on his site, like this Blink project:

A
WiringPi breadboard layout

Well worth a visit!

Read the main article.

Footnotes

  1. To be picky, the Pi's default operating system's full title would be the Raspbian distribution of Debian GNU Linux.

Comment on this post.

Page 1 / 1

Pi-Tronics from
the GATE people
© Hamish Cunningham and The University of Sheffield, 1995-.
This website is licenced under the Creative Commons Attribution-NonCommercial-ShareAlike Licence.
GATE is free software under the GNU licences and others. All our products and services supplied with no warranty.
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi Foundation. Print.
Creative Commons License

The University of Sheffield