I am doing SPI driver on Beagleplay with device Accelerometer, ADXL-345.
Why? Is this for a class project?
There are two drivers for the ADXL-345 already in the linux kernel. The older under input/misc and the newer IIO variant. Plus all the python user-space examples. adxl345_core.c « accel « iio « drivers - kernel/git/torvalds/linux.git - Linux kernel source tree
Regards,
Why? Is this for a class project?
I am amazed at the above question.
But I am doing it on my own. Any suggestions for encouragement?
SPI: GitHub - nagimov/adxl345spi: ADXL345 three-axis accelerometer reader (SPI interface)
Python: GitHub - adafruit/Adafruit_CircuitPython_ADXL34x: A CircuitPython driver for the ADXL34x family of accelerometers
C: GitHub - libdriver/adxl345: ADXL345 full function driver library for general MCU and Linux.
Rust: GitHub - mbuesch/adxl345_driver2: Rust driver for the adxl345 and adxl346 3-Axis Digital Accelerometer
Java: ADXL345/Java/ADXL345.java at master · ControlEverythingCommunity/ADXL345 · GitHub
NodeJS: GitHub - skylarstein/adxl345-sensor: A Node.js I2C module for the Analog Devices ADXL345 three-axis digital accelerometer
The ADXL345 has had a ton of driver examples written over the years…
Regards,
many thanks.
| RobertCNelson
August 5 |
- | - |
SPI: GitHub - nagimov/adxl345spi: ADXL345 three-axis accelerometer reader (SPI interface)
Python: GitHub - adafruit/Adafruit_CircuitPython_ADXL34x: A CircuitPython driver for the ADXL34x family of accelerometers
C: GitHub - libdriver/adxl345: ADXL345 full function driver library for general MCU and Linux.
Rust: GitHub - mbuesch/adxl345_driver2: Rust driver for the adxl345 and adxl346 3-Axis Digital Accelerometer
Java: ADXL345/Java/ADXL345.java at master · ControlEverythingCommunity/ADXL345 · GitHub
NodeJS: GitHub - skylarstein/adxl345-sensor: A Node.js I2C module for the Analog Devices ADXL345 three-axis digital accelerometer
The ADXL345 has had a ton of driver examples written over the years…
Regards,
We don’t use a “driver” its all ioctl using c++, much easier to work with. You can do stuff in c but if you must take your work to the next level learn c++.
thanks.