File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ class MLX90393: # pylint: disable=too-many-instance-attributes
169
169
:param i2c_bus: The I2C bus the device is connected to
170
170
:param int address: The I2C device address. Defaults to :const:`0x0C`
171
171
:param int gain: The gain level to apply. Defaults to :const:`GAIN_1X`
172
+ :param int resolution: The resolution level to use. Defaults to :const:`RESOLUTION_16`
173
+ :param int filt: The filter to use. Defaults to :const:`FILTER_7`
174
+ :param int oversampling: The oversampleing setting to use. Defaults to :const:`OSR_3`
172
175
:param bool debug: Enable debug output. Defaults to `False`
173
176
174
177
@@ -399,6 +402,8 @@ def display_status(self) -> None:
399
402
def read_reg (self , reg : int ) -> int :
400
403
"""
401
404
Gets the current value of the specified register.
405
+
406
+ :param int reg: The register to read
402
407
"""
403
408
# Write 'value' to the specified register
404
409
payload = bytes ([_CMD_RR , reg << 2 ])
@@ -421,6 +426,9 @@ def read_reg(self, reg: int) -> int:
421
426
def write_reg (self , reg : int , value : int ) -> None :
422
427
"""
423
428
Writes the 16-bit value to the supplied register.
429
+
430
+ :param int reg: The register to write to
431
+ :param int value: The value to write to the register
424
432
"""
425
433
self ._transceive (
426
434
bytes (
You can’t perform that action at this time.
0 commit comments