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
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.