@@ -265,7 +265,7 @@ def read_accel_raw(self):
265
265
266
266
@property
267
267
def accelerometer (self ):
268
- """Returns the accelerometer X, Y, Z axis values as a 3-tuple of
268
+ """The accelerometer X, Y, Z axis values as a 3-tuple of
269
269
m/s^2 values.
270
270
"""
271
271
raw = self .read_accel_raw ()
@@ -286,7 +286,7 @@ def read_mag_raw(self):
286
286
287
287
@property
288
288
def magnetometer (self ):
289
- """Returns the magnetometer X, Y, Z axis values as a 3-tuple of
289
+ """The magnetometer X, Y, Z axis values as a 3-tuple of
290
290
gauss values.
291
291
"""
292
292
raw = self .read_mag_raw ()
@@ -306,7 +306,7 @@ def read_gyro_raw(self):
306
306
307
307
@property
308
308
def gyroscope (self ):
309
- """Returns the gyroscope X, Y, Z axis values as a 3-tuple of
309
+ """The gyroscope X, Y, Z axis values as a 3-tuple of
310
310
degrees/second values.
311
311
"""
312
312
raw = self .read_mag_raw ()
@@ -325,7 +325,7 @@ def read_temp_raw(self):
325
325
326
326
@property
327
327
def temperature (self ):
328
- """Returns the temperature of the sensor in degrees Celsius."""
328
+ """The temperature of the sensor in degrees Celsius."""
329
329
# This is just a guess since the starting point (21C here) isn't documented :(
330
330
temp = self .read_temp_raw ()
331
331
temp = 21.0 + temp / 8
0 commit comments