This project contains a minimal example application which uses the Pi4J (V2) library to communicate with a device overal a serial link. Full description is available on the Pi4J website
The goal of the example project is to show how to use Pi4J with Maven for various electronic components connected to the Raspberry Pi.
See the README.md file per example application.
This project uses Pi4J V.2 which has the following runtime dependency requirements:
- SLF4J (API)
- SLF4J-SIMPLE
- PIGPIO Library (for the Raspberry Pi) - This dependency comes pre-installed on recent Raspbian images. However, you can also download and install it yourself using the instructions found here.
Pi4J Version 2.0 and later is licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an " AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.