WiringPi

I bought some Raspberry Pi and now some Orange Pi but I never play with GPIO … It’s time to use it.

First we have to understand what kind of GPIO are present on the board connector, for example in the case of Orange Pi we have the following GPIO.

Not bad! But what about software? On Raspberry Pi there is the interesting WiringPi lib that allow you to use in a very simple manner all this GPIOs. Like

WiringPi is a GPIO access library written in C for the BCM2835 used in the Raspberry Pi.

On the Orange Pi One there is a porting on this software available on github, we can install it using the following commands.

The last command allow you to read the state of GPIO directly from the shell.

 

Where are my relays?!?!?

Email this to someoneShare on FacebookShare on Google+Share on LinkedInTweet about this on TwitterPin on PinterestPrint this page

Leave a Reply

Your email address will not be published. Required fields are marked *