diff options
| author | gcohen | 2014-12-29 20:52:57 -0800 | 
|---|---|---|
| committer | gcohen | 2014-12-29 20:52:57 -0800 | 
| commit | 6796e0a0bed15caf48a654fbb7573961cb8e7802 (patch) | |
| tree | a813a63fe6eb3394fe79b060cdbd86b91b5b41ef /python/examples/futureHouse | |
| parent | 7fcc7e444f495150de6b6112b69afb35920793d4 (diff) | |
| download | pubnub-python-6796e0a0bed15caf48a654fbb7573961cb8e7802.tar.bz2 | |
adding PN control
Diffstat (limited to 'python/examples/futureHouse')
| -rw-r--r-- | python/examples/futureHouse/futureHouse.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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']) | 
