From 6796e0a0bed15caf48a654fbb7573961cb8e7802 Mon Sep 17 00:00:00 2001 From: gcohen Date: Mon, 29 Dec 2014 20:52:57 -0800 Subject: adding PN control --- python/examples/futureHouse/futureHouse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py index ce1fc46..cb536ab 100644 --- a/python/examples/futureHouse/futureHouse.py +++ b/python/examples/futureHouse/futureHouse.py @@ -80,7 +80,7 @@ def setServoPulse(channel, pulse): pwm.setPWMFreq(60) # Set frequency to 60 Hz while (True): - for x in range(0,6) : + 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 pwm.setPWM(x, 0, leds[x]['minPulseLength']) -- cgit v1.2.3