August 2017
Intermediate to advanced
214 pages
4h 31m
English
Controlling the Raspberry Pi's GPIO pins is surprisingly simple using the GPIO command-line interface.
First, install the GPIO command-line tools by running this:
git clone git://git.drogon.net/wiringPicd wiringPi/./build
Verify that the gpio command-line tool has been installed by running this:
gpio -v
Let's say we have an LED connected to pin 4 (to be more specific, the positive end is connected to pin 4 and the negative end is connected to one end of a resistor, whose other end is connected to the ground pin).

This circuit is similar to the pin-low Write mode we discussed ...
Read now
Unlock full access