Skip to content
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
2 changes: 0 additions & 2 deletions adafruit_lsm9ds0.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS0.git"

# Internal constants and register values:
# pylint: disable=bad-whitespace
_LSM9DS0_ADDRESS_ACCELMAG = const(0x1D) # 3B >> 1 = 7bit default
_LSM9DS0_ADDRESS_GYRO = const(0x6B) # D6 >> 1 = 7bit default
_LSM9DS0_XM_ID = const(0b01001001)
Expand Down Expand Up @@ -131,7 +130,6 @@
GYROSCALE_245DPS = 0b00 << 4 # +/- 245 degrees per second rotation
GYROSCALE_500DPS = 0b01 << 4 # +/- 500 degrees per second rotation
GYROSCALE_2000DPS = 0b10 << 4 # +/- 2000 degrees per second rotation
# pylint: enable=bad-whitespace


def _twos_comp(val, bits):
Expand Down