From e2b7287256e1d1cbcbc5f9095159fbb3111626d7 Mon Sep 17 00:00:00 2001 From: schneider Date: Fri, 23 Dec 2011 20:52:29 +0100 Subject: [PATCH] game: moved to channel 87 --- tools/game/bong/integrator.py | 2 +- tools/game/py-pong/main.py | 2 +- tools/game/testgame.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/game/bong/integrator.py b/tools/game/bong/integrator.py index 4d30212..696e7b1 100644 --- a/tools/game/bong/integrator.py +++ b/tools/game/bong/integrator.py @@ -39,7 +39,7 @@ def receivedPacket(packet): pos=1 game = r0ketrem0te.game.Game('COM4', "testgame", 83, - 81, [ord(x) for x in 'REM0T'], 2, True) + 87, [ord(x) for x in 'REM0T'], 2, True) game.bridge.registerCallback(receivedPacket) class Application(tornado.web.Application): diff --git a/tools/game/py-pong/main.py b/tools/game/py-pong/main.py index b4b0dc0..deb1431 100644 --- a/tools/game/py-pong/main.py +++ b/tools/game/py-pong/main.py @@ -29,7 +29,7 @@ class Pong: pygame.init() self.rem0te = r0ketrem0te.game.Game('/dev/ttyACM0', "pong", 83, - 81, [ord(x) for x in 'REM0T'], 2, True) + 87, [ord(x) for x in 'REM0T'], 2, True) self.rem0te.registerPlayerCallback(self.playercallback) self.player_right = Rem0tePlayer(self.rem0te) diff --git a/tools/game/testgame.py b/tools/game/testgame.py index dc3c037..8f140a1 100644 --- a/tools/game/testgame.py +++ b/tools/game/testgame.py @@ -7,7 +7,7 @@ import Queue def receivedPacket(packet): pass game = r0ketrem0te.game.Game('/dev/ttyACM0', "testgame", 83, - 81, [ord(x) for x in 'REM0T'], 2, True) + 87, [ord(x) for x in 'REM0T'], 2, True) queue = Queue.Queue() game.bridge.registerQueue(queue) game.bridge.registerCallback(receivedPacket)