Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

Adafruit 16-channel servo driver and revision 2 pi.
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Adafruit 16-channel servo driver and revision 2 pi.

by Twiggy on Tue Oct 16, 2012 5:45 am

Hi there,
My revision 2 raspberry pi doesn't work with this servo module. It seems that the python code is not suited for the SDA1/SCL1. Is there a way to fix this?
Twiggy
 
Posts: 2
Joined: Sat Sep 22, 2012 4:07 am

Re: Adafruit 16-channel servo driver and revision 2 pi.

by adafruit on Wed Oct 17, 2012 2:27 pm

in the python code, you have to change the I2C port from #0 to #1

Adafruit_PWM_Servo_Driver/Adafruit_PWM_Servo_Driver.py

change
self.i2c = Adafruit_I2C(address)
to
self.i2c = Adafruit_I2C(address, bus=smbus.SMBus(1))

adafruit
 
Posts: 11905
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc