I used the new armel Debian Wheezy with bootc's 3.2.20 r1 kernel from http://www.bootc.net/projects/raspberry-pi-kernel/
I have to say compared to dealing with the spaghetti code of different Arduino libraries for running I2C, etc, it was very easy. Attach device, modprobe i2c-dev to get userspace i2c interfaces, run i2cdetect to make sure it was showing up on address 0x40, and then set registers by using
I used a small breadboard power supply (http://www.cutedigi.com/tools/power-sup ... upply.html) to provide 3V3 to the VCC and 5V to the server drive V+ on the breakout board, without taxing Pi's power supply. Tied the ground on the Pi to the ground on the power supply and the breakout board, connected up the SDA and SCL lines, and everything...just worked.
Code: Select all
i2cset <I2C-BUS> <DEVICE ADDRESS> <REGISTER ADDRESS> <VALUE>
I may write a small python library for the PCA9685, if folks are interested.