Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi 3 Projects for Java Programmers

You're reading from   Raspberry Pi 3 Projects for Java Programmers Get the most out of your Raspberry Pi 3 with Java

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781786462121
Length 286 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (3):
Arrow left icon
Rajdeep Chandra Rajdeep Chandra
Author Profile Icon Rajdeep Chandra
Rajdeep Chandra
John Sirach John Sirach
Author Profile Icon John Sirach
John Sirach
Pradeeka Seneviratne Pradeeka Seneviratne
Author Profile Icon Pradeeka Seneviratne
Pradeeka Seneviratne
Arrow right icon
View More author details
Toc

Table of Contents (8) Chapters Close

Preface 1. Setting up Your Raspberry Pi FREE CHAPTER 2. Automatic Light Switch Using Presence Detection 3. A Social and Personal Digital Photo Frame 4. Integrating a Real-Time IoT Dashboard 5. Wireless Controlled Robot 6. Building a Multipurpose IoT Controller 7. Security Camera with Face Recognition

The Pi4J libraries

The Pi4J library is developed by Robert Savage and is used to interact with the GPIO pins. Communication with the GPIO pins is not done by pure Java but uses a native library developed by Gordon Henderson. This library is bundled within the Pi4J library and is used automatically. The Pi4J project consists of multiple libraries which are as follows:

  • pi4j-core.jar: Always needed, and includes the pi4j native library
  • pi4j-device: Wrappers used for interactions with different kind of peripheral and different Raspberry Pi expansion boards
  • pi4j-gpio-extension.jar: Used by pi4j-device.jar or for custom extension implementations
  • Pi4j-service.jar: Provides listeners for GPIO pins

We will always include all libraries so we are sure to have all the dependencies and will make it easier for you to extend the projects without the need to search for the corresponding libraries of the same version being used...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image