Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting in the docstring of the VEML6075 class #19

Merged
merged 1 commit into from
Jun 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading