Main Site Contents Previous Next

GPIO Access Modules

If you find that accessing the Raspberry Pi peripherals using the kernel device drivers does not meet your needs HiPi provides two modules that provide direct access to the Raspberry Pi GPIO registers by wrapping an external C library.

HiPi::BCM2835

The HiPi::BCM2835 module provides a Perl wrapper around Mike McCauley's bcm2835 C library.

http://www.airspayce.com/mikem/bcm2835/

Mike also provides his own Perl wrapper for the library - Device::BCM2835

HiPi::BCM2835::I2C

A wrapper for the HiPi::BCM2835 I2C functions

HiPi::Wiring

The HiPi::Wiring module is a thin wrapper around the excellent WiringPi library by Gordon Henderson. You can see full description and examples of using the library at:

https://projects.drogon.net/raspberry-pi/wiringpi/





Contents Previous Next


HiPi Modules Copyright © 2013 - 2016 Mark Dootson