changed resolution to 240x240 fullscreen by default
This commit is contained in:
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user