@@ -83,13 +83,13 @@ class VEML6070:
83
83
84
84
:param i2c_bus: The `busio.I2C` object to use. This is the only required parameter.
85
85
:param str _veml6070_it: The integration time you'd like to set initially. Availble
86
- options: `VEML6070_HALF_T`, `VEML6070_1_T`, `VEML6070_2_T`, and
87
- `VEML6070_4_T`. The higher the '_x_' value, the more accurate
86
+ options: `` VEML6070_HALF_T`` , `` VEML6070_1_T`` , `` VEML6070_2_T` `, and
87
+ `` VEML6070_4_T` `. The higher the '_x_' value, the more accurate
88
88
the reading is (at the cost of less samples per reading).
89
- Defaults to `VEML6070_1_T` if parameter not passed. To change
89
+ Defaults to `` VEML6070_1_T` ` if parameter not passed. To change
90
90
setting after intialization, use
91
- `[veml6070].set_integration_time(new_it)`.
92
- :param bool ack: The inital setting of ``ACKnowledge`` on alert. Defaults to `False`
91
+ `` [veml6070].set_integration_time(new_it)` `.
92
+ :param bool ack: The inital setting of ``ACKnowledge`` on alert. Defaults to `` False` `
93
93
if parameter not passed. To change setting after intialization,
94
94
use ``[veml6070].set_ack(new_ack)``.
95
95
@@ -195,8 +195,8 @@ def set_integration_time(self, new_it):
195
195
"""
196
196
Sets the Integration Time of the sensor. This is the refresh interval of the
197
197
sensor. The higher the refresh interval, the more accurate the reading is (at
198
- the cost of less sampling). The available settings are: `VEML6070_HALF_T`,
199
- `VEML6070_1_T`, `VEML6070_2_T`, `VEML6070_4_T`.
198
+ the cost of less sampling). The available settings are: `` VEML6070_HALF_T` `,
199
+ `` VEML6070_1_T`` , `` VEML6070_2_T`` , `` VEML6070_4_T` `.
200
200
"""
201
201
if new_it not in _VEML6070_INTEGRATION_TIME :
202
202
raise ValueError ("Integration Time invalid. Valid values are: " ,
@@ -228,7 +228,7 @@ def wake(self):
228
228
229
229
def get_index (self , _raw ):
230
230
"""
231
- Calculates the UV Risk Level based on the captured UV reading. Requres the `_raw`
231
+ Calculates the UV Risk Level based on the captured UV reading. Requres the `` _raw` `
232
232
argument (from ``veml6070.read``). Risk level is available for Integration Times (IT)
233
233
1, 2, & 4. The result is automatically scaled to the current IT setting.
234
234
0 commit comments