Compare commits
2 commits
remove-bad
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35a1a1bc11 | ||
|
|
7413658272 |
2 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ Introduction
|
|||
:alt: Documentation Status
|
||||
|
||||
.. image:: https://img.shields.io/discord/327254708534116352.svg
|
||||
:target: https://discord.gg/nBQh6qu
|
||||
:target: https://adafru.it/discord
|
||||
:alt: Discord
|
||||
|
||||
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_ADXL34x/workflows/Build%20CI/badge.svg
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ except ImportError:
|
|||
from ustruct import unpack
|
||||
__version__ = "0.0.0-auto.0"
|
||||
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ADXL34x.git"
|
||||
# pylint: disable=bad-whitespace
|
||||
_ADXL345_DEFAULT_ADDRESS = const(0x53) # Assumes ALT address pin low
|
||||
|
||||
# Conversion factors
|
||||
|
|
@ -154,6 +155,7 @@ class Range: # pylint: disable=too-few-public-methods
|
|||
RANGE_2_G = const(0b00) # +/- 2g (default value)
|
||||
|
||||
|
||||
# pylint: enable=bad-whitespace
|
||||
class ADXL345:
|
||||
"""Driver for the ADXL345 3 axis accelerometer
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue