85
85
class DataRate : # pylint: disable=too-few-public-methods
86
86
"""Options for ``data_rate``
87
87
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
+ +---------------------------+-------------------------+
103
103
104
104
"""
105
105
@@ -114,9 +114,9 @@ class DataRate: # pylint: disable=too-few-public-methods
114
114
class LPS35HW : # pylint: disable=too-many-instance-attributes
115
115
"""Driver for the ST LPS35HW MEMS pressure sensor
116
116
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.
120
120
121
121
"""
122
122
@@ -193,7 +193,7 @@ def reset(self):
193
193
194
194
def take_measurement (self ):
195
195
"""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``"""
197
197
self ._one_shot = True
198
198
while self ._one_shot :
199
199
pass
0 commit comments