I've been testing the libraries for the TLC5940 and the PCA9685. I don't know if you already were able to find a solution but I will explain what I got:
I downloaded the TLC5940 library from here: http://playground.arduino.cc/Learning/TLC5940. Then I tried to compile an example but I was not able to do it, so I decided to try with the PCA9685.
I downloaded the PCA9685 library from here: adafruit/Adafruit-PWM-Servo-Driver-Library · GitHub. Again as before, I tried to compile an example but I was not able to do it, but in this case I modified the Arduino.h file in the Arduino IDE and I was able to compile the code using the Edison. Also I replace the line 21 in the file Adafruit_PWMServoDriver.cpp with this:
#if defined(__AVR__) || defined(__X86__)
I don't have the Adafruit board to test the code in order to know if it is really working, however I have a logic analyzer so I decided to check the I2C lines in order to know if at least there were any data flowing through them. I took a screenshot, check below:
Since I don't have the Adafruit board I'm not able to check all the data flowing through the I2C lines but I got something, so I think the library is working in the Edison.
I attached the Arduino.h file if you want to do the test. You have to copy it in ...\arduino-1.5.3-Intel.1.0.4\hardware\arduino\edison\cores\arduino. Just replace the existing file. I hope you find this useful.
Arduino.h.zip 1.1 K
Yes we landed on the same thing, Even I could not get the TLC5940 as it relies heavily on internal AVR registers.
WIth the PCA9858, I didn't know how to define "edison" in library, thanks to you now I know its __x86__ , So I took the dirty route and changed 27 line to #define WIRE Wire. I did not to modified the Arduino.h file and was able to compile the servo example , the pwm test example uses an internal register TWBR, so was not able to compile it, if commented out it works.
Since you getting the data stream, library is working.
I don't have a PCA9858 board as I'm short on deadline I could not wait for the parts to arrive, so I used the tools at hand.
Currently I'm sending data from edison using Serial, all the commands are stored in an array , on the slave side I'm using arduino mega adk and parsing the serial string and taking the appropriate action. When the command is executed on arduino board, it requests for next command and edison sends the next one and it keeps on looping.
Thank you for your time and effort.