RPi & Pi4J: Tutorial 2: GPIO Output

In the first installment of this series, we saw how we could quickly set up a Java development environment on the RPi, and wrote a simple program to demonstrate how easy it is to configure GPIO using Pi4J.

Let us now dive a little deeper into Pi4J, and understand how we can use the GPIO pins as output pins.

Read moreRPi & Pi4J: Tutorial 2: GPIO Output

Source Code is Available

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
[/code]

All the code is licensed under the MIT License.

Categories IoT