-
Notifications
You must be signed in to change notification settings - Fork 4
A dummy WiringPi library, for compiling on non-raspberry pi platforms
License
LGPL-3.0, GPL-3.0 licenses found
Licenses found
LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
dotsha747/WiringPi-Sim
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
*** A Dummy Wiring-Pi Library *** 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. Unfortunately, there is no wiringPi library in Ubuntu. I built this simple library of stubs, so I could compile my Raspberry Pi programs on Ubuntu. The wiringPi methods are just no-op stubs, and do nothing, but it does allow the program to compile. Only the core library functions exist at the moment. I might expand it in the future to actually simulate the real GPIO pin behaviour, and have some UI that can toggle simulated switches and so on. Or maybe have it talk over the network to a Pi and interact with the real GPIO. But for now all I need is this stub library. 8-) Pre-build debian packages are available (compiled on Ubuntu 16.04LTS), to install them: wget -O- http://repo.shahada.abubakar.net/pubkey.asc | sudo apt-key add - cd /etc/apt/sources.list.d sudo wget http://repo.shahada.abubakar.net/repo.shahada.abubakar.net.sources.list sudo apt-get install wiringpi-sim
About
A dummy WiringPi library, for compiling on non-raspberry pi platforms
Resources
License
LGPL-3.0, GPL-3.0 licenses found
Licenses found
LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Stars
Watchers
Forks
Packages 0
No packages published