Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 994 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 994 Bytes

WiringPi-mock with i2c support

Continuation of iwishiwasaneagle/wiringPi-mock with added i2c functionalities.

WiringPi is an excellent library for accessing GPIO and other hardware on the Raspberry Pi, written by Gordon Henderson (http://wiringpi.com). When using it I often would like to compile and test my program on my desktop ubuntu system, before finally porting it to the Pi. Sadly wiringPi doesn't run on non-rpi PCs.

Installation

git clone https://github.com/iwishiwasaneagle/wiringPi-mock
cd wiringPi-mock
sudo ./install.sh

To uninstall cd into _build and run sudo make uninstall.

Usage

The sole purpose of this library is to simulate wiringPi. As such, just use it like wiringPi. For examples on how to use, visit the examples folder.

Documentation

Visit https://iwishiwasaneagle.github.io/wiringPi-mock/ or build from source:

doxygen
firefox docs/index.html