From bd169d16e2b696976e46345fee0ffbbb43e1d7a5 Mon Sep 17 00:00:00 2001 From: Mikey Sklar Date: Wed, 27 Jun 2018 14:51:54 -0600 Subject: [PATCH] ran pylint cleanup and dropped read_ prefixes in driver code, tested on hardware --- DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.py b/DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.py index c275beb72..9187bab16 100644 --- a/DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.py +++ b/DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.py @@ -1,7 +1,7 @@ # Designed specifically to work with the MLX90614 sensors in the # adafruit shop -# ----> https://www.adafruit.com/products/1748 -# ----> https://www.adafruit.com/products/1749 +# ----> https://www.adafruit.com/product/1747 +# ----> https://www.adafruit.com/product/1748 # # These sensors use I2C to communicate, 2 pins are required to # interface Adafruit invests time and resources providing this open @@ -49,7 +49,7 @@ def colorWipe(color): strip[j] = (color) while True: - temp = mlx.read_object_temp_f + temp = mlx.object_temp_f if temp < cold_temp: temp = cold_temp