Skip to content

Strange actions in powerOn() #18

Description

@AlexanderKokushkin

Hello, in function powerOn() I see that whole register POWER_CTL value instantly being changed from 0 to 16 and eventually to 8.

writeTo(ADXL345_POWER_CTL, 0);	// Wakeup
writeTo(ADXL345_POWER_CTL, 16);	// Auto_Sleep
writeTo(ADXL345_POWER_CTL, 8);	// Measure

Maybe you wanted to set all these bits ( 8Hz Frequency and AutoSleep and Measuring mode )? e.g. 24?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions