Open nicolasdb opened 2 years ago
The code from the wiki work fine on Arduino UNO, but not with the M5Stamp. So the sensor is working.
I tried the example from :
Everytimes, I defined the I2C pins with Wire.begin(6,7); and the result was the same. Serial Monitor stay blank, and yes speedrate is set adequately. My guess is a communication problem with I2C pins within library.
Wire.begin(6,7);
Next I would try this library
with this turorial https://wolles-elektronikkiste.de/en/adxl345-the-universal-accelerometer-part-1
https://embetronicx.com/tutorials/rtos/nuttx/nuttx-rtos-i2c-example-using-esp32-adxl345-interfacing/#ADXL345_Sensor
ADXL345 from keyestudio.
The code from the wiki work fine on Arduino UNO, but not with the M5Stamp. So the sensor is working.
I tried the example from :
Everytimes, I defined the I2C pins with
Wire.begin(6,7);
and the result was the same. Serial Monitor stay blank, and yes speedrate is set adequately. My guess is a communication problem with I2C pins within library.