In the first installment of this series we wrote a simple Java program that used the Pi4J library to set one of the RPi’s GPIO ports low and reads its status. Before we go any further with our tutorials, let us take a quick look at what GPIO is, and what it offers.
All the source code for my Raspberry Pi / Java / Pi4J tutorials are available from my BitBucket Repository.
If you want to download a zip file of the most current release, click here. If you want to clone the repository, please use:
[code language=”bash” light=”true”]
$ git clone https://bitbucket.org/calpilot/rpi-tutorials.git
All the code is licensed under the MIT License.