display play and debug
[veternica] / 1 / gumb.py
index 0f8666e..f1cf58f 100755 (executable)
--- a/1/gumb.py
+++ b/1/gumb.py
@@ -56,6 +56,8 @@ def main():
                 print inp.encode("hex")                
                 if inp.encode("hex") == "54828081":
                     dobar=True                
+
+             print("play", "dobar=", dobar, "trenutni=",trenutni)
              pygame.mixer.music.play()
              while pygame.mixer.music.get_busy() == True:
                  continue