Posts: 1
Joined: Mon Apr 08, 2019 12:06 pm

Pi4J + SerialCommunciation

Mon Apr 08, 2019 12:16 pm

I'm using the PI4J-Library to communicate over UART with a MotorController.

UART is working with PI4J V1.1, but write to GPIO as OUTPUT is not.

I upgraded PI4J to V1.2, now writing on GPIO works, but the UART stopped working.
WiringPi is up to date on V2.50 and I'm using the Hardware-UART /dev/ttyAMA0.

Has anyone experienced a similar behaviour?

Raspberry Pi 3, Rev 1.2
Kernel 4.14.98-v7+
Java 1.8.0_65

Thanks in advance.

Return to “Java”