From 48304fc70fde8f84c0c0347cee70bdcb752f0927 Mon Sep 17 00:00:00 2001 From: gcohen Date: Tue, 6 Jan 2015 00:50:26 -0800 Subject: thread test --- python/examples/futureHouse/futureHouse.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py index ba0135a..2978c24 100644 --- a/python/examples/futureHouse/futureHouse.py +++ b/python/examples/futureHouse/futureHouse.py @@ -199,9 +199,7 @@ def startCycling(): # print str(x) + ": " + str(leds[x]['minPulseLength']) + " " + str(leds[x]['maxPulseLength']) + " " + str(leds[x]['waitFloor']) + " " + str(leds[x]['waitCeiling']) # Change speed of continuous servo on channel O try: - #t = thread.start_new_thread( cycleLEDs, (x,) ) t = thread.start_new_thread( cycleLEDs, (x,) ) - print t.isAlive() except: print "Error: unable to start thread" -- cgit v1.2.3