Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4989

Java • Re: Pi4J does not work correctly with PI5 in a Java project

$
0
0
Are you sure that python script runs OK on a Pi5 ? It gives me an error on a Pi5:

Code:

RuntimeError: Cannot determine SOC peripheral base address
The error is because a Pi5 has a different GPIO chip so the RPI.GPIO python library does not work.
Anyway, are you using the latest version of Pi4J that uses the new chip on a Pi5?
As per Pi4J website: "Pi4J supports the new Raspberry Pi 5 as of version 2.5.0."

Statistics: Posted by neilgl — Sat Jan 11, 2025 8:30 pm



Viewing all articles
Browse latest Browse all 4989

Trending Articles