From dd8bcc2da80d15280b9aa94cec648fbdac576cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 18 Jul 2017 20:11:12 +0200 Subject: Add matrix --- turtetris_master/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'turtetris_master/__init__.py') diff --git a/turtetris_master/__init__.py b/turtetris_master/__init__.py index 9cf22b1..401accb 100644 --- a/turtetris_master/__init__.py +++ b/turtetris_master/__init__.py @@ -1,11 +1,19 @@ +import time +from .led_output import Matrix from .usb_input import Gamepad def main(): "Main function" inpt = Gamepad() + print('Gamepad initialized') + mtrx = Matrix() + print('Matrix initialized') while True: + print('loop!!!!') print(inpt.check()) + mtrx.display() + time.sleep(1) if __name__ == '__main__': -- cgit v1.2.3