B4J Question RB pi2 and JPi4j

ta1dr

Member
Licensed User
Longtime User
I tried jpi4j lib and exp.(from Erel) on RB pi 2 it not work

code link:

https://www.b4x.com/android/forum/threads/iot-jpi4j-raspberry-pi-gpio-controller.37493/

B4X:
Program started.
An error occurred:
(Line: 0) null
java.lang.Exception: Sub appstart signature does not match expected signature.
public static anywheresoftware.b4a.pc.RemoteObject b4j.example.main_subs_0._appstart(anywheresoftware.b4a.pc.RemoteObject) throws java.lang.Exception

do you have any comment ?
 

ta1dr

Member
Licensed User
Longtime User
sorry I just copy/past your code

I tried new project with non-ui and write code OK it work

many thanks ..
 
Upvote 0

ta1dr

Member
Licensed User
Longtime User
Hi Erel
I design simple UI forum scene builder and only add button and I add your traffic light code
button action code just all leds false

it is work well...your attention
 
Upvote 0
Top