DIY Arduino MIDI instrument >>

LED number display JavaFX library published on Maven

2019-10-02 12:11:10
My very first open source JavaFX library is now available in the Maven repository! A small step for mankind, one giant leap for myself ;-)

While working on Java example projects for my book "Getting started with Java on Raspberry Pi", I needed a way to visualize a LED number display as used in electronics projects. And as I didn't find exactly what I was looking for, it was an ideal opportunity to find out how you create a project and make it public. As a note for myself I wrote down the steps needed to reach this goal.

The idea was to have a way to show a LED number display like this and be able to turn the segments on and off with 8 bit values:



So I created a JavaFX library to generate a component in which you can define the colors of the segment and background. You can also easily highlight them by defining the bits for LED A till H or with a HighlightType which you can see in the the combobox in the screenshot below.

The demo application which is included in the sources also contains a date and clock visualization:



Sources are available on my GitHub repository:
github.com/FDelporte/JavaFXLedNumberDisplay


And the Maven dependency can be found on:
mvnrepository.com/artifact/be.webtechie