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

Java • Java and ADXL345 accelerometer

$
0
0
Hi All
I'm new to Raspbery Pi. I have recently been able to configure an ADXL with Python script - it runs well.
As a learning experience, and for the sake of comparing, I would like to run the ADXL345 on RPi using Java.
I'm not sure when Java got so complicated, but on RPi, it seems way more difficult to use Java vs Python.
I'm looking for some nudges from the Java people.
Is anyone using Pi4J successfully? It seems like it is changing quickly, most on-line tutorials are out of date?
Is there a simpler way than Pi4J to interface the accelerometer through i2c?
Is there a preference for Maven vs Gradle or other? (These systems really seem to add to the difficulty)
Is it feasible to make the connection without Maven or Gradle?
Any good UP-TO-DATE tutorials that you can recommend?

Thank
JMD

Statistics: Posted by JMDFlorida — Thu Jul 11, 2024 7:22 pm — Replies 0 — Views 38



Viewing all articles
Browse latest Browse all 4465

Trending Articles