Skip to content

dominik-widmann/wiringPi-mock

 
 

Repository files navigation

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

About

A dummy wiringPi library, for compiling on non-raspberry pi platforms

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C++ 54.6%
  • CMake 40.8%
  • Shell 4.6%