diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/examples/futureHouse/futureHouse.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py index 395b035..9aeb6cd 100644 --- a/python/examples/futureHouse/futureHouse.py +++ b/python/examples/futureHouse/futureHouse.py @@ -199,7 +199,8 @@ 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: - thread.start_new_thread( cycleLEDs, (x,) ) + t = thread.start_new_thread( cycleLEDs, (x,) ) + print t.isAlive() except: print "Error: unable to start thread" |
