Can I run two separate java apps that can both write to the same gpio pin ? #220
Closed
RobLeighton67
started this conversation in
General
Replies: 2 comments
-
It would be simpler to just use a single application, to be honest. That way you're sure you won't have pin conflicts and it seems it would just be easier to manage (and put less stress on the small device by only running a single JVM). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Tests basically confirm that, unlike with Pi4j, I can't. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have two apps, both need to access a pin to turn on , or flash, an LED via a gpio pin (#28) - previous incarnations on Pi Zero W using pi4j seemed to work OK, as the apps never typically need to access the gpio simultaneously (one is used to indicate shutdown started, so the other is closed almost immediately).
Pi Zero 2W - dietpi OS 9.2 - jre17.
Beta Was this translation helpful? Give feedback.
All reactions