Pixout Lighting 3855023073 | 1年前 | |
---|---|---|
.github/workflows | 4 年前 | |
cmake | 2 年前 | |
debian | 2 年前 | |
debian-template/wiringPi/DEBIAN | 2 年前 | |
devLib | 2 年前 | |
examples | 2 年前 | |
gpio | 2 年前 | |
pins | 2 年前 | |
wiringPi | 1年前 | |
wiringPiD | 2 年前 | |
.gitignore | 9 年前 | |
CMakeLists.txt | 2 年前 | |
COPYING.LESSER | 12 年前 | |
INSTALL | 4 年前 | |
People | 8 年前 | |
README.md | 1年前 | |
VERSION | 2 年前 | |
build | 2 年前 | |
newVersion | 2 年前 | |
update | 8 年前 | |
version.h | 2 年前 |
This is an unofficial mirror/fork of wiringPi to support ports (Python/Ruby/etc). With the end of official development, this repository has become a mirror of the last “official” source release, plus a fork facilitating updates to support newer hardware (primarily for use by the ports) and fix bugs.
final_source_2.50
tag.master
branch contains code that has been written since that final source
release to provide support for newer hardware.mdkir dist && cd dist
cmake ..
cmake --build .
Debian package:
cpack -config CPackConfig.cmake
Build Archive:
cpack -config CPackSourceConfig.cmake
Cross-Compiling:
Make sure to install the arm toolchain
for the raspberry pi.
Then set the environment variable TOOLCHAIN_PATH
to the bin/
directory in your toolchain and run:
mkdir dist && cd dist
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-rpi.cmake
cmake --build .
To install the wiringPi library, simply download the .deb
package available in the latest release
or build it from source and install it using dpkg
:
sudo dpkg -i wiringpi-2.61-1-armhf.deb
wiringPi has been wrapped for multiple languages:
Please do not email Gordon if you have issues, he will not be able to help.
Pull-requests may be accepted to add or fix support for newer hardware, but new features or other changes may not be accepted.
For support, comments, questions, etc please join the WiringPi Discord channel: https://discord.gg/SM4WUVG