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 10
10
from adafruit_bitmap_font import bitmap_font
11
11
from adafruit_display_shapes .rect import Rect
12
12
import adafruit_amg88xx
13
- from adafruit_pybadger import PyBadger
13
+ from adafruit_pybadger import pybadger as panel
14
14
from thermal_cam_converters import celsius_to_fahrenheit , fahrenheit_to_celsius
15
15
# Load default alarm and min/max range values list from config file
16
16
from thermal_cam_config import ALARM_F , MIN_RANGE_F , MAX_RANGE_F
17
17
18
18
# 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
21
21
if hasattr (board , "JOYSTICK_X" ):
22
22
panel .has_joystick = True # PyGamer
23
23
else : panel .has_joystick = False # Must be PyBadge
You can’t perform that action at this time.
0 commit comments