So we have programs running on the Pi, and that’s a good thing. It’s really the key to the whole process, even if TicTac didn’t do more than play a simple screen game. For the Pi to do what Arduinos do, though, we need to be able to control their GPIO ports. For that, we’ll use the WiringPi library. It’s included in modern versions of Raspbian by default.
What Is WiringPi?
On the Arduino, you undoubtedly used the pin family of functions, like pinMode(pin), digitalRead(pin), and digitalWrite(pin,HIGH/LOW). Those come from a project called Wiring, originally written ...