No description, website, or topics provided.
C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
GPIOClass.cpp
GPIOClass.h
GPIOtest.cpp
GPIOtest2.cpp
LICENSE
README.md

README.md

RaspberryPi-GPIOClass-v1

Author: Hussam Al-Hertani

Description: The GPIOClass C++ class enables the Raspberry Pi its onboard GPIOs via the sysfs interface.

============================================================================================================

For more information please visit: http://hertaville.com/2012/11/18/introduction-to-accessing-the-raspberry-pis-gpio-in-c/

============================================================================================================

To build two examples natively on the Raspberry Pi:

Example 1: g++ -fpermissive -Wall GPIOClass.cpp GPIOtest.cpp -o outBin1

Example 2: g++ -fpermissive -Wall GPIOClass.cpp GPIOtest2.cpp -o outBin2

In both cases make sure that the GPIOClass.h header file is in the work (RaspberryPi-GPIOClass-v1) directory.