Skip to content

Switch events to properties #42

Open
@tannewt

Description

@tannewt

Right now there is an events property that returns a dictionary of what events are enabled. There are separate enable_ and disable_ functions for each event type. Instead, we should remove events in favor of a property for each event. To know if it is enable, then you can read it. To change it, the value can be set.

The 37x library should be updated to match. https://github.com/adafruit/Adafruit_CircuitPython_ADXL37x

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