Closed ViennaMike closed 3 years ago
This PR looks empty. Have you pushed the commits?
This PR looks empty. Have you pushed the commits?
Well, I sure thought I had! That said, obviously not. I've done that now, but I get a "Error: Process completed with exit code 1." in the checks, but I don't see any specific errors listed to know what failed and why. I need some help on that. Thanks!
Looks like black
reformatted the main library file. The simplest way to fix it is to install pre-commit: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/check-your-code
The board may be mounted with various orientations in a project. Axis remap allows the axes to be remapped to align with the project axes. This was present in the pre-CircuitPython version of the driver, but not in the CircuitPython version. This adds it back.
The various parameters are added near the top of the code (at then end of the existing definitions) and the getter and adder functions added, along with comments on how the axis_remap works and a reference to the appropriate section of the datasheet.