Skip to content

Not working after updating to 3.1.0 #18

@mahdyfo

Description

@mahdyfo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions