wiringPi comes with many example programs to perform different tasks. You’ll find these in the examples directory of the distribution if you downloaded it from the git.drogon.net website. Additionally in the examples directory, there are 2 others – Gertboard, q2w and Piface with examples for the Gertboard, quick2Wire and Piface interface boards.

Examples presented here are: