Fix busnum in examples.

This commit is contained in:
Tony DiCola 2016-04-20 19:53:57 +00:00
parent 1f7f8041ea
commit 3ee531d05e

View file

@ -17,7 +17,7 @@ import Adafruit_PCA9685
pwm = Adafruit_PCA9685.PCA9685()
# Alternatively specify a different address and/or bus:
#pwm = Adafruit_PCA9685.PCA9685(address=0x41, bus=2)
#pwm = Adafruit_PCA9685.PCA9685(address=0x41, busnum=2)
# Configure min and max servo pulse lengths
servo_min = 150 # Min pulse length out of 4096