Skip to content

Commit a8772c0

Browse files
author
caternuson
committed
change property names
1 parent 584016d commit a8772c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_lsm9ds0.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def read_accel_raw(self):
264264
return (raw_x, raw_y, raw_z)
265265

266266
@property
267-
def accelerometer(self):
267+
def acceleration(self):
268268
"""The accelerometer X, Y, Z axis values as a 3-tuple of
269269
m/s^2 values.
270270
"""
@@ -285,7 +285,7 @@ def read_mag_raw(self):
285285
return (raw_x, raw_y, raw_z)
286286

287287
@property
288-
def magnetometer(self):
288+
def magnetic(self):
289289
"""The magnetometer X, Y, Z axis values as a 3-tuple of
290290
gauss values.
291291
"""
@@ -305,7 +305,7 @@ def read_gyro_raw(self):
305305
return (raw_x, raw_y, raw_z)
306306

307307
@property
308-
def gyroscope(self):
308+
def gyro(self):
309309
"""The gyroscope X, Y, Z axis values as a 3-tuple of
310310
degrees/second values.
311311
"""

0 commit comments

Comments
 (0)