changed resolution to 240x240 fullscreen by default

This commit is contained in:
2023-05-12 23:36:21 -04:00
parent 526b51b754
commit d932538b41
2 changed files with 7 additions and 19 deletions

View File

@@ -5,15 +5,9 @@ import importlib.util
# If the RPi.GPIO module is not found (aka the program is not running on a Pi), import the fake
# GPIO module instead to prevent a crash.
ON_HARDWARE = None # Flag to tell other methods if the program is running on hardware or not
try:
importlib.util.find_spec('RPi.GPIO')
import RPi.GPIO as GPIO
ON_HARDWARE = False
except ImportError:
import pocket_friends.game_files.io.fake_gpio as GPIO
ON_HARDWARE = False
#ON_HARDWARE = None # Flag to tell other methods if the program is running on hardware or not
import pocket_friends.game_files.io.fake_gpio as GPIO
ON_HARDWARE = False
# Dictionary of all the buttons used and what their corresponding GPIO codes are
BUTTONS = {