wiringpi/cci.20210727

GPIO Interface library for the Raspberry Pi
Recipe info
2024-03-30

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
wiringpi/cci.20210727

Using wiringpi

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
wiringpi/cci.20210727
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("wiringpi/cci.20210727")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): wiringpi
  • CMake target name(s): wiringpi::wiringpi
  • pkg-config file name(s): wiringpi.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(wiringpi REQUIRED)
# ...
target_link_libraries(YOUR_TARGET wiringpi::wiringpi)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the wiringpi homepage listed above:

#include "ads1115.h"
#include "bmp180.h"
#include "drcNet.h"
#include "drcSerial.h"
#include "ds1302.h"
#include "ds18b20.h"
#include "font.h"
#include "gertboard.h"
#include "htu21d.h"
#include "lcd.h"
#include "lcd128x64.h"
#include "max31855.h"
#include "max5322.h"
#include "maxdetect.h"
#include "mcp23008.h"
#include "mcp23016.h"
#include "mcp23016reg.h"
#include "mcp23017.h"
#include "mcp23s08.h"
#include "mcp23s17.h"
#include "mcp23x08.h"
#include "mcp23x0817.h"
#include "mcp3002.h"
#include "mcp3004.h"
#include "mcp3422.h"
#include "mcp4802.h"
#include "pcf8574.h"
#include "pcf8591.h"
#include "piFace.h"
#include "piGlow.h"
#include "piNes.h"
#include "pseudoPins.h"
#include "rht03.h"
#include "scrollPhat.h"
#include "scrollPhatFont.h"
#include "sn3218.h"
#include "softPwm.h"
#include "softServo.h"
#include "softTone.h"
#include "sr595.h"
#include "wiringPi.h"
#include "wiringPiI2C.h"
#include "wiringPiSPI.h"
#include "wiringSerial.h"
#include "wiringShift.h"
#include "wpiExtensions.h"