Skip to content

Minor documentation additions #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions adafruit_adxl34x.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@

class DataRate: # pylint: disable=too-few-public-methods
"""An enum-like class representing the possible data rates.
Possible values are

Possible values are:

- ``DataRate.RATE_3200_HZ``
- ``DataRate.RATE_1600_HZ``
Expand Down Expand Up @@ -129,7 +130,7 @@ class DataRate: # pylint: disable=too-few-public-methods
class Range: # pylint: disable=too-few-public-methods
"""An enum-like class representing the possible measurement ranges in +/- G.

Possible values are
Possible values are:

- ``Range.RANGE_16_G``
- ``Range.RANGE_8_G``
Expand All @@ -148,7 +149,7 @@ class ADXL345:
"""Driver for the ADXL345 3 axis accelerometer

:param ~busio.I2C i2c: The I2C bus the ADXL345 is connected to.
:param address: The I2C device address for the sensor. Default is :const:`0x53`.
:param int address: The I2C device address for the sensor. Default is :const:`0x53`.

**Quickstart: Importing and using the device**

Expand Down