From 1d02ace384d0112f70bf200e1af29bfeabd538e3 Mon Sep 17 00:00:00 2001 From: tekktrik <89490472+tekktrik@users.noreply.github.com> Date: Mon, 14 Mar 2022 12:50:27 -0400 Subject: [PATCH 1/2] Update class docstring with __init__() params --- adafruit_amg88xx.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/adafruit_amg88xx.py b/adafruit_amg88xx.py index 8943e4e..4619fd0 100644 --- a/adafruit_amg88xx.py +++ b/adafruit_amg88xx.py @@ -93,7 +93,11 @@ def _twos_comp_to_float(val: int) -> float: class AMG88XX: - """Driver for the AMG88xx GRID-Eye IR 8x8 thermal camera.""" + """Driver for the AMG88xx GRID-Eye IR 8x8 thermal camera. + + :param ~busio.I2C i2c: The I2C bus object + :param int address: The I2C address, default is 0x69 + """ # Set up the registers _pctl: RWBits = i2c_bits.RWBits(8, 0x00, 0) From 49eebcc787b9d5fee86267abed537984ee385a0a Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Mon, 14 Mar 2022 12:55:34 -0400 Subject: [PATCH 2/2] Reformatted per pre-commit --- adafruit_amg88xx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_amg88xx.py b/adafruit_amg88xx.py index 4619fd0..bda77cc 100644 --- a/adafruit_amg88xx.py +++ b/adafruit_amg88xx.py @@ -94,7 +94,7 @@ def _twos_comp_to_float(val: int) -> float: class AMG88XX: """Driver for the AMG88xx GRID-Eye IR 8x8 thermal camera. - + :param ~busio.I2C i2c: The I2C bus object :param int address: The I2C address, default is 0x69 """