File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 22# 2020-01-29 v3.2
33# (c) 2020 Jan Goolsbey for Adafruit Industries
44
5- from thermal_cam_converters import celsius_to_fahrenheit , fahrenheit_to_celsius
65import time
76import board
87import displayio
1211from adafruit_display_shapes .rect import Rect
1312import adafruit_amg88xx
1413from adafruit_pybadger import PyBadger
14+ from thermal_cam_converters import celsius_to_fahrenheit , fahrenheit_to_celsius
15+ # Load default alarm and min/max range values list from config file
16+ from thermal_cam_config import ALARM_F , MIN_RANGE_F , MAX_RANGE_F
1517
1618# Establish panel instance and check for joystick
1719panel = PyBadger (pixels_brightness = 0.1 ) # Set NeoPixel brightness
4446MIN_SENSOR_F = celsius_to_fahrenheit (MIN_SENSOR_C )
4547MAX_SENSOR_F = celsius_to_fahrenheit (MAX_SENSOR_C )
4648
47- # Load default alarm and min/max range values list from config file
48- from thermal_cam_config import ALARM_F , MIN_RANGE_F , MAX_RANGE_F
49-
5049# Convert default alarm and min/max range values from config file
5150ALARM_C = fahrenheit_to_celsius (ALARM_F )
5251MIN_RANGE_C = fahrenheit_to_celsius (MIN_RANGE_F )
You can’t perform that action at this time.
0 commit comments