diff options
Diffstat (limited to 'python/examples/futureHouse/futureHouse.py')
| -rw-r--r-- | python/examples/futureHouse/futureHouse.py | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py index c33d32d..10ad3b8 100644 --- a/python/examples/futureHouse/futureHouse.py +++ b/python/examples/futureHouse/futureHouse.py @@ -206,12 +206,12 @@ def startCycling():          for x in range(0,7) :              # 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,) ) -            # except: -            #     print "Error: unable to start LED thread" +            try: +                thread.start_new_thread( cycleLEDs, (x,) ) +            except: +                print "Error: unable to start LED thread" -            cycleLEDs(x) +            #cycleLEDs(x)  startCycling() | 
