From 08488f68e26d673455a02407b33d72577eb54326 Mon Sep 17 00:00:00 2001 From: Aaron Perley Date: Tue, 11 Oct 2016 02:08:21 -0400 Subject: Add back show testing main function in bridge.py --- bridge.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'bridge.py') diff --git a/bridge.py b/bridge.py index 91e81fb..c5f832d 100755 --- a/bridge.py +++ b/bridge.py @@ -35,4 +35,13 @@ class Bridge(object): for x in xrange(1, self.WIDTH+1)] - +def main(): + """Just for testing. Use ShowRunner when running the show for real.""" + import Queue + bridge = Bridge() + show = FishShow(bridge, send_queue=Queue.Queue(), recv_queue=Queue.Queue()) + #show = SunriseShow(bridge) + show.run(framerate=FRAME_RATE) + +if __name__ == '__main__': + main() -- cgit v1.3.1