Skip to content

Commit d9f67db

Browse files
committed
fixing formatting
1 parent 9051d10 commit d9f67db

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

adafruit_lps35hw.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,21 @@
8585
class DataRate: # pylint: disable=too-few-public-methods
8686
"""Options for ``data_rate``
8787
88-
+---------------------------+-------------------------+
89-
| ``DataRate`` | Time |
90-
+===========================+=========================+
91-
| ``DataRate.ONE_SHOT`` | One shot mode |
92-
+---------------------------+-------------------------+
93-
| ``DataRate.RATE_1_HZ`` | 1 hz |
94-
+---------------------------+-------------------------+
95-
| ``DataRate.RATE_10_HZ`` | 10 hz (Default) |
96-
+---------------------------+-------------------------+
97-
| ``DataRate.RATE_25_HZ`` | 25 hz |
98-
+---------------------------+-------------------------+
99-
| ``DataRate.RATE_50_HZ`` | 50 hz |
100-
+---------------------------+-------------------------+
101-
| ``DataRate.RATE_75_HZ`` | 75 hz |
102-
+---------------------------+-------------------------+
88+
+---------------------------+-------------------------+
89+
| ``DataRate`` | Time |
90+
+===========================+=========================+
91+
| ``DataRate.ONE_SHOT`` | One shot mode |
92+
+---------------------------+-------------------------+
93+
| ``DataRate.RATE_1_HZ`` | 1 hz |
94+
+---------------------------+-------------------------+
95+
| ``DataRate.RATE_10_HZ`` | 10 hz (Default) |
96+
+---------------------------+-------------------------+
97+
| ``DataRate.RATE_25_HZ`` | 25 hz |
98+
+---------------------------+-------------------------+
99+
| ``DataRate.RATE_50_HZ`` | 50 hz |
100+
+---------------------------+-------------------------+
101+
| ``DataRate.RATE_75_HZ`` | 75 hz |
102+
+---------------------------+-------------------------+
103103
104104
"""
105105

@@ -114,9 +114,9 @@ class DataRate: # pylint: disable=too-few-public-methods
114114
class LPS35HW: # pylint: disable=too-many-instance-attributes
115115
"""Driver for the ST LPS35HW MEMS pressure sensor
116116
117-
:param ~busio.I2C i2c_bus: The I2C bus the LPS34HW is connected to.
118-
:param address: The I2C device address for the sensor. Default is ``0x5d`` but will accept
119-
``0x5c`` when the ``SDO`` pin is connected to Ground.
117+
:param ~busio.I2C i2c_bus: The I2C bus the LPS34HW is connected to.
118+
:param address: The I2C device address for the sensor. Default is ``0x5d`` but will accept
119+
``0x5c`` when the ``SDO`` pin is connected to Ground.
120120
121121
"""
122122

@@ -193,7 +193,7 @@ def reset(self):
193193

194194
def take_measurement(self):
195195
"""Update the value of ``pressure`` and ``temperature`` by taking a single measurement.
196-
Only meaningful if ``data_rate`` is set to ``ONE_SHOT``"""
196+
Only meaningful if ``data_rate`` is set to ``ONE_SHOT``"""
197197
self._one_shot = True
198198
while self._one_shot:
199199
pass

0 commit comments

Comments
 (0)