aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgcohen2015-01-06 00:50:26 -0800
committergcohen2015-01-06 00:50:26 -0800
commit48304fc70fde8f84c0c0347cee70bdcb752f0927 (patch)
tree90b8535cad8aba26dffe2a258d13353293050dcd
parent52ddcfe5fc8ed41ca8337afe287a6542463826b1 (diff)
downloadpubnub-python-48304fc70fde8f84c0c0347cee70bdcb752f0927.tar.bz2
thread test
-rw-r--r--python/examples/futureHouse/futureHouse.py2
1 files changed, 0 insertions, 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"