@@ -266,7 +266,6 @@ def acceleration(self):
266
266
"""The x, y, z acceleration values returned in a 3-tuple and are in :math:`m / s ^ 2.`"""
267
267
self ._bank = 0
268
268
raw_accel_data = self ._raw_accel_data
269
- sleep (0.005 )
270
269
271
270
x = self ._scale_xl_data (raw_accel_data [0 ])
272
271
y = self ._scale_xl_data (raw_accel_data [1 ])
@@ -287,7 +286,6 @@ def gyro(self):
287
286
return (x , y , z )
288
287
289
288
def _scale_xl_data (self , raw_measurement ):
290
- sleep (0.005 )
291
289
return raw_measurement / AccelRange .lsb [self ._cached_accel_range ] * G_TO_ACCEL
292
290
293
291
def _scale_gyro_data (self , raw_measurement ):
@@ -530,7 +528,7 @@ class ICM20649(ICM20X):
530
528
import board
531
529
import adafruit_icm20x
532
530
533
- Once this is done you can define your `board.I2C` object and define your sensor object
531
+ Once this is done you can define your `` board.I2C` ` object and define your sensor object
534
532
535
533
.. code-block:: python
536
534
@@ -605,7 +603,7 @@ class ICM20948(ICM20X): # pylint:disable=too-many-instance-attributes
605
603
import board
606
604
import adafruit_icm20x
607
605
608
- Once this is done you can define your `board.I2C` object and define your sensor object
606
+ Once this is done you can define your `` board.I2C` ` object and define your sensor object
609
607
610
608
.. code-block:: python
611
609
@@ -746,7 +744,6 @@ def magnetic(self):
746
744
747
745
self ._bank = 0
748
746
full_data = self ._raw_mag_data
749
- sleep (0.005 )
750
747
751
748
x = full_data [0 ] * _ICM20X_UT_PER_LSB
752
749
y = full_data [1 ] * _ICM20X_UT_PER_LSB
0 commit comments