From dc18d5f20487ebf16e9c5781cc5bcf5a2ece2222 Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Wed, 23 Oct 2019 17:33:31 -0400 Subject: [PATCH] Doc exmaple fix. --- adafruit_mcp9600.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/adafruit_mcp9600.py b/adafruit_mcp9600.py index 039dea7..16a0645 100644 --- a/adafruit_mcp9600.py +++ b/adafruit_mcp9600.py @@ -240,8 +240,6 @@ def alert_config(self, *, alert_number, alert_temp_source, alert_temp_limit, ale alert_1 = digitalio.DigitalInOut(board.D5) alert_1.switch_to_input() - mcp.burst_mode_samples = mcp.BURST_SAMPLES_1 - mcp.ambient_resolution = mcp.AMBIENT_RESOLUTION_0_25 mcp.alert_config(alert_number=1, alert_temp_source=mcp.THERMOCOUPLE, alert_temp_limit=25, alert_hysteresis=0, alert_temp_direction=mcp.RISING, alert_mode=mcp.COMPARATOR,