Skip to content

Commit

Permalink
Merge pull request #19 from mkarpiarz/fix-api-docs-formatting
Browse files Browse the repository at this point in the history
Fix formatting in the docstring of the VEML6075 class
  • Loading branch information
FoamyGuy authored Jun 30, 2024
2 parents 46cd3f8 + 1a54aad commit cfef4c4
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions adafruit_veml6075.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@
class VEML6075:
"""
Driver base for the VEML6075 UV Light Sensor
:param i2c_bus: The `busio.I2C` object to use. This is the only required parameter.
:param int integration_time: The integration time you'd like to set initially. Availble
options - each in milliseconds: 50, 100, 200, 400, 800.
The higher the '_x_' value, the more accurate
the reading is (at the cost of less samples per reading).
Defaults to 100ms if parameter not passed. To change
setting after intialization, use
``[veml6075].integration_time = new_it_value``.
:param int integration_time: The integration time you'd like to set initially. Available
options - each in milliseconds: 50, 100, 200, 400, 800.
The higher the '_x_' value, the more accurate
the reading is (at the cost of less samples per reading).
Defaults to 100ms if parameter not passed. To change
setting after intialization, use
``[veml6075].integration_time = new_it_value``.
:param bool high_dynamic: whether to put sensor in 'high dynamic setting' mode
:param float uva_a_coef: the UVA visible coefficient
:param float uva_b_coef: the UVA IR coefficient
Expand Down

0 comments on commit cfef4c4

Please sign in to comment.