25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
Pixout Lighting 3855023073
Merge pull request #1 from Lucino772/master
1 yıl önce
.github/workflows First crack at a build workflow 4 yıl önce
cmake build(cpack): configured CPack to build source & DEB package 2 yıl önce
debian Prep for deb release as 2.70 2 yıl önce
debian-template/wiringPi/DEBIAN Prep for deb release as 2.70 2 yıl önce
devLib build(version): version is extracted from version.h file & used by cmake 2 yıl önce
examples Prep for deb release as 2.70 2 yıl önce
gpio build(version): version is extracted from version.h file & used by cmake 2 yıl önce
pins Prep for deb release as 2.70 2 yıl önce
wiringPi Merge pull request #1 from Lucino772/master 1 yıl önce
wiringPiD build(version): version is extracted from version.h file & used by cmake 2 yıl önce
.gitignore Build system: Move template-based debian build into debian-template 9 yıl önce
CMakeLists.txt build(cpack): configured CPack to build source & DEB package 2 yıl önce
COPYING.LESSER New timing methods 12 yıl önce
INSTALL Update support contacts for INSTALL and gpio.1 4 yıl önce
People Updated from git.drogon.net 8 yıl önce
README.md Merge pull request #1 from Lucino772/master 1 yıl önce
VERSION Prep for deb release as 2.70 2 yıl önce
build Prep for deb release as 2.70 2 yıl önce
newVersion Prep for deb release as 2.70 2 yıl önce
update A new version of wiringPi. Added in more stuff and fixed it up 8 yıl önce
version.h Prep for deb release as 2.70 2 yıl önce

README.md

WiringPi (Unofficial Mirror/Fork)

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.

  • The final “official” source release can be found at the final_source_2.50 tag.
  • The default master branch contains code that has been written since that final source release to provide support for newer hardware.

Build

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 .

Install

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

Ports

wiringPi has been wrapped for multiple languages:

Support

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