restructured directories to make more sense of modules and sub-modules
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Module to test the GPIO input on the Raspberry Pi.
|
||||
"""
|
||||
from collections import deque
|
||||
from pocket_friends.game_files.io_helpers.gpio_handler import Constants, GPIOHandler
|
||||
from pocket_friends.game_files.io.gpio_handler import Constants, GPIOHandler
|
||||
|
||||
|
||||
def button_test():
|
||||
|
@@ -8,13 +8,13 @@ import pygame
|
||||
import time
|
||||
from .button_test import button_test
|
||||
from .menus import Menu
|
||||
from pocket_friends.game_files.io_helpers.gpio_handler import GPIOHandler, Constants
|
||||
from pocket_friends.game_files.io.gpio_handler import GPIOHandler, Constants
|
||||
|
||||
try:
|
||||
importlib.util.find_spec('RPi.GPIO')
|
||||
import RPi.GPIO as GPIO
|
||||
except ImportError:
|
||||
import pocket_friends.game_files.io_helpers.fake_gpio as GPIO
|
||||
import pocket_friends.game_files.io.fake_gpio as GPIO
|
||||
|
||||
# Global variable to keep track of the current menu.
|
||||
menu = 'main'
|
||||
|
Reference in New Issue
Block a user