Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Add PIN list for different boards #450

Open
FDelporte opened this issue Mar 20, 2019 · 1 comment
Open

Add PIN list for different boards #450

FDelporte opened this issue Mar 20, 2019 · 1 comment
Assignees

Comments

@FDelporte
Copy link
Member

FDelporte commented Mar 20, 2019

I have been experimenting with a JavaFX application to visualize the pin lay-out (and eventually later be able to show and change the GPIO remotely from this app to a board).

Based on the already existing enums I could quickly generate an image similar to the one on https://www.pi4j.com/1.2/pins/model-3b-plus-rev1.html, see Proof-Of-Concept code on https://github.com/FDelporte/pi4j-ui/blob/master/src/main/java/be/webtechie/pi4jui/board/impl/RaspberryPi_3B_Plus.java

Could this be something to add in pi4j itself?

(The dropdowns on the screenshot are just from experimenting, not related to the generated image yet)

pi-pins

@savageautomate
Copy link
Member

@FDelporte

I do think something like this would be useful --- perhaps in an even greater capacity in version 2 where it could provide an interactive GUI to visualize the actual state of which pins are provisioned and what modes they are configured for as well as the active state. Possibly even control of output states.

The WiringPi project provides a GPIO utility to visualize the GPIO states via a command line interface.

We might want to consider a runtime service in Pi4J v2 that exposes a remotely accessible interface for interactive with the I/O state. This could coincide with the desire to also run a Pi4J enable project from your IDE/desktop and remote the I/O over the network to a physical Raspberry Pi.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants