aboutsummaryrefslogtreecommitdiff
path: root/turtetris_master/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'turtetris_master/__init__.py')
-rw-r--r--turtetris_master/__init__.py8
1 files changed, 8 insertions, 0 deletions
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__':