B4J Library [IoT] jPi4J - Raspberry Pi GPIO controller

jayel

Active Member
Licensed User
I have now used the piface library and this on works :
B4X:
Dim PFace as PiFace

PFace.initialize(0x40,0)
Pface.GetSwitch(0).AddListener("Pin1")
Ok, but how can I set debounce with this library.
 

Gary Miyakawa

Active Member
Licensed User
I was having the same issue with the latest Raspian code. I updated my B4J jPi4J from Erel's msg #154. Put them in the right spot and it's working fine now.

Thank you for the fix!

Gary Miyakawa
 
Hi all!
First of all, I love your job Erel...
I receive this error using Pin 7 as input.
(Programming via Netbeans and C++ works well, with B4J no).

Raspberry Pi 3
jPi4J 2.00

B4X:
Private Col4 As GpioPinDigitalInput
Col4.Initialize("Col4",7)
B4X:
java.lang.RuntimeException: Unable to open GPIO direction interface for pin [7]: File o directory non esistente
 

jinyistudio

Active Member
Licensed User
I have get this message. Where can i get latest version of Pi4J ? My version is 1.50 o_O
 
Top