File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010from adafruit_bitmap_font import bitmap_font
1111from adafruit_display_shapes .rect import Rect
1212import adafruit_amg88xx
13- from adafruit_pybadger import PyBadger
13+ from adafruit_pybadger import pybadger as panel
1414from thermal_cam_converters import celsius_to_fahrenheit , fahrenheit_to_celsius
1515# Load default alarm and min/max range values list from config file
1616from thermal_cam_config import ALARM_F , MIN_RANGE_F , MAX_RANGE_F
1717
1818# Establish panel instance and check for joystick
19- panel = PyBadger ( pixels_brightness = 0.1 ) # Set NeoPixel brightness
20- panel .pixels .fill (0 ) # Clear all NeoPixels
19+ panel . pixels . brightness = 0.1 # Set NeoPixel brightness
20+ panel .pixels .fill (0 ) # Clear all NeoPixels
2121if hasattr (board , "JOYSTICK_X" ):
2222 panel .has_joystick = True # PyGamer
2323else : panel .has_joystick = False # Must be PyBadge
You can’t perform that action at this time.
0 commit comments