Wiring pi Configuration

24 views
Skip to first unread message

Joël Kwan

unread,
May 3, 2020, 4:55:51 AM5/3/20
to Pi4J
Hi,

I am trying to use pi4j in my project.
I own an old Odroid C1+ and I have installed wiringpi and load pi4j in my JEE project with maven repository.

My project can not continue after these lines :

PlatformManager.setPlatform(Platform.ODROID);
this._gpio = GpioFactory.getInstance();

getInstances() make my code stuck...

I figure it out that maybe my wiring pi installation is not well configured.
When I am trying to execute "gpio readall" I have the message "** Model string on this board is not well formatted **"

I have installed wiringpi following this page https://wiki.odroid.com/odroid-c1/application_note/gpio/wiringpi with the Ubuntu PPA repository

Can anyone help me please ?

Best regards,

Reply all
Reply to author
Forward
0 new messages