This is a Spring Boot Application that uses Diozero to blink an LED. Click here for more info. When you press the button the LED blinks four times. To run this application make sure to have Maven installed. Click here to learn more. After that you can build the application with mvn package. Change to the target directory and then run java -jar -DPIGPIOD_HOST=<ip-address-of-pi> demo-0.0.1-SNAPSHOT.jar. Make sure to have Remote GPIO enabled on your Pi either by running sudo pigpiod running sudo raspi-config and then enabling Remote GPIO under Interfaces or going to the Raspberry Pi Configuration Menu and then enable Remote GPIO. Then go to localhost:8080/home and then press the button. This will work with any Pi. With Prometheus installed you can check the metrics going to /actuator/prometheus. You should get detailed information on the application.
-
Notifications
You must be signed in to change notification settings - Fork 0
This project uses Spring Boot and Diozoero to blink an LED.
License
sentairanger/Spring-Boot-LED
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
This project uses Spring Boot and Diozoero to blink an LED.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
