GPIO work

This commit is contained in:
9and3r
2014-08-08 12:06:59 +02:00
parent f15ce5aaa6
commit b98f3a6e6f
2 changed files with 8 additions and 11 deletions

View File

@@ -31,8 +31,7 @@ class TouchScreen(pykka.ThreadingActor, core.CoreListener):
# Raspberry pi GPIO
self.gpio = config['touchscreen']['gpio']
if self.gpio:
from .gpio_inpput_manager import GPIOManager
self.gpio = GPIOManager()
import GPIOManager
def start_thread(self):
clock = pygame.time.Clock()