Skip to content

Commit 71534e4

Browse files
committed
Still Sphinx.
1 parent 21e0af4 commit 71534e4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

adafruit_mcp9600.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,19 @@ def alert_config(self, *, alert_number, alert_temp_source, alert_temp_limit, ale
200200
alert_temp_direction, alert_mode, alert_state):
201201
"""Configure a specified alert pin. Alert is enabled by default when alert is configured.
202202
To disable an alert pin, use ``alert_disable``.
203+
203204
:param int alert_number: The alert pin number. Must be 1-4.
204205
:param alert_temp_source: The temperature source to monitor for the alert. Options are:
205206
``THERMOCOUPLE`` or ``AMBIENT``.
206207
:param float alert_temp_limit: The temperature in degrees Celsius at which the alert should
207-
trigger. For rising temperatures, the alert will trigger when the
208-
temperature rises above this limit. For falling temperatures, the
209-
alert will trigger when the temperature falls below this limit.
208+
trigger. For rising temperatures, the alert will trigger when
209+
the temperature rises above this limit. For falling
210+
temperatures, the alert will trigger when the temperature
211+
falls below this limit.
210212
:param float alert_hysteresis: The alert hysteresis range. Must be 0-255 degrees Celsius.
211-
For rising temperatures, the hysteresis is below alert limit. For
212-
falling temperatures, the hysteresis is above alert limit. See
213-
data-sheet for further information.
213+
For rising temperatures, the hysteresis is below alert limit.
214+
For falling temperatures, the hysteresis is above alert
215+
limit. See data-sheet for further information.
214216
:param alert_temp_direction: The direction the temperature must change to trigger the alert.
215217
Options are ``RISING`` (heating up) or ``FALLING`` (cooling
216218
down).

0 commit comments

Comments
 (0)