Skip to content

sentairanger/Spring-Boot-LED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Boot-LED

Introduction

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.

app

About

This project uses Spring Boot and Diozoero to blink an LED.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published