This driver utilizes the Arduino i2c libraries from version 1.0 and driver architecture found from various sources on the web. It configures the sensor to +/- 4 G's at 100 Hz. The data sample rate is set to 0.05 second period via the S-Function builder update rate. Additional settings are described in the manual.
For additional information and tips please look at the excellent description by Giampiero Campa.
Eddy Trinklein (2021). ADLX345 i2c Driver for Arduino Mega (https://www.mathworks.com/matlabcentral/fileexchange/41027-adlx345-i2c-driver-for-arduino-mega), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Device Drivers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!