-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I updated the library to 3.1.0 and it stopped working. it doesn't wake up the mcu from deep sleep in this mode:
volatile bool accelActivity = false;
...
myAcc.setInterrupt(ADXL345_ACTIVITY, INT_PIN_2);
myAcc.setDataRate(ADXL345_DATA_RATE_25);
myAcc.setRange(ADXL345_RANGE_2G);
attachInterrupt(digitalPinToInterrupt(PIN_ACCEL_INT2), accelActivityISR, RISING);
...
void accelActivityISR() {
accelActivity = true;
}
I didn't check other modes.
atmega328pb
I downgraded to 3.0.6 and it is working correctly again.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels