Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pi4j/pi4j-example-minimal
Minimal example project showing how to use Pi4J V2 with a digital input and output
https://github.com/pi4j/pi4j-example-minimal
gradle java maven pi4j
Last synced: about 4 hours ago
JSON representation
Minimal example project showing how to use Pi4J V2 with a digital input and output
- Host: GitHub
- URL: https://github.com/pi4j/pi4j-example-minimal
- Owner: Pi4J
- License: apache-2.0
- Created: 2020-06-11T10:45:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T15:06:00.000Z (22 days ago)
- Last Synced: 2024-10-25T19:55:18.418Z (21 days ago)
- Topics: gradle, java, maven, pi4j
- Language: Java
- Homepage: https://pi4j.com/getting-started/minimal-example-application/
- Size: 449 KB
- Stars: 20
- Watchers: 5
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Pi4J V2 :: Java I/O Library for Raspberry Pi :: Minimal example application
==========================================================================GitHub Actions:
![Maven build](https://github.com/pi4j/pi4j-example-minimal/workflows/Maven/badge.svg)
![Gradle build](https://github.com/pi4j/pi4j-example-minimal/workflows/Gradle/badge.svg)This project contains a minimal example application which uses the Pi4J (V2) library and uses a digital output (LED)
and digital input (push button). Full description is available on [the Pi4J website](https://pi4j.com/getting-started/minimal-example-application)## PROJECT OVERVIEW
The goal of the example project is to show how to set up a Pi4J Maven / Gradle project for the Raspberry Pi.
## WIRING
The application needs a LED connected on BCM 22 and button on BCM 24.
![Breadboard schematics used in this example](assets/led-button_bb.png)
## BUILD DEPENDENCIES & INSTRUCTIONS
This project can be built with Maven and Gradle, which is fully described with step-by-step instructions on the [Pi4J website > Getting started with Pi4J > Minimal example application](https://pi4j.com/getting-started/minimal-example-application/).
## LICENSE
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.0Unless 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.