|
1 |
| -# The MIT License (MIT) |
| 1 | +# SPDX-FileCopyrightText: 2020 Bryan Siepert for Adafruit Industries |
2 | 2 | #
|
3 |
| -# Copyright (c) 2020 Bryan Siepert for Adafruit Industries |
4 |
| -# |
5 |
| -# Permission is hereby granted, free of charge, to any person obtaining a copy |
6 |
| -# of this software and associated documentation files (the "Software"), to deal |
7 |
| -# in the Software without restriction, including without limitation the rights |
8 |
| -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
9 |
| -# copies of the Software, and to permit persons to whom the Software is |
10 |
| -# furnished to do so, subject to the following conditions: |
11 |
| -# |
12 |
| -# The above copyright notice and this permission notice shall be included in |
13 |
| -# all copies or substantial portions of the Software. |
14 |
| -# |
15 |
| -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
16 |
| -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
17 |
| -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
18 |
| -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
19 |
| -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
20 |
| -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
21 |
| -# THE SOFTWARE. |
| 3 | +# SPDX-License-Identifier: MIT |
| 4 | + |
22 | 5 | """
|
23 | 6 | `adafruit_icm20x`
|
24 | 7 | ================================================================================
|
@@ -156,8 +139,8 @@ class ICM20X: # pylint:disable=too-many-instance-attributes
|
156 | 139 | """Library for the ST ICM-20X Wide-Range 6-DoF Accelerometer and Gyro Family
|
157 | 140 |
|
158 | 141 |
|
159 |
| - :param ~busio.I2C i2c_bus: The I2C bus the ICM20X is connected to. |
160 |
| - :param address: The I2C slave address of the sensor |
| 142 | + :param ~busio.I2C i2c_bus: The I2C bus the ICM20X is connected to. |
| 143 | + :param address: The I2C slave address of the sensor |
161 | 144 |
|
162 | 145 | """
|
163 | 146 |
|
@@ -500,8 +483,8 @@ def _low_power(self, enabled):
|
500 | 483 | class ICM20649(ICM20X):
|
501 | 484 | """Library for the ST ICM-20649 Wide-Range 6-DoF Accelerometer and Gyro.
|
502 | 485 |
|
503 |
| - :param ~busio.I2C i2c_bus: The I2C bus the ICM20649 is connected to. |
504 |
| - :param address: The I2C slave address of the sensor |
| 486 | + :param ~busio.I2C i2c_bus: The I2C bus the ICM20649 is connected to. |
| 487 | + :param address: The I2C slave address of the sensor |
505 | 488 |
|
506 | 489 | """
|
507 | 490 |
|
@@ -551,8 +534,8 @@ class MagDataRate(CV):
|
551 | 534 | class ICM20948(ICM20X): # pylint:disable=too-many-instance-attributes
|
552 | 535 | """Library for the ST ICM-20948 Wide-Range 6-DoF Accelerometer and Gyro.
|
553 | 536 |
|
554 |
| - :param ~busio.I2C i2c_bus: The I2C bus the ICM20948 is connected to. |
555 |
| - :param address: The I2C slave address of the sensor |
| 537 | + :param ~busio.I2C i2c_bus: The I2C bus the ICM20948 is connected to. |
| 538 | + :param address: The I2C slave address of the sensor |
556 | 539 | """
|
557 | 540 |
|
558 | 541 | _slave_finished = ROBit(_ICM20X_I2C_MST_STATUS, 6)
|
|
0 commit comments