Using ShiftPWM and TLC5940 libraries in same app?

Hello,

I have my arduino project going in two parts. One part is using the public ShiftPWM library to runs multiple leds via output shift registers. The second part I have is running multiple servos via the TLC5940 PWM IC chip using the TLC5940 arduino library.

The problem I have is when I try to merge the two codes into one application. I believe one of them is interfering with the other in regards interrupts or timers???

If anyone is familiar with using these libraries, or ideally has gotten them both to operate together in the same application, I would very much like some tips to making them get along in same app.

Should one or the other be in SPI mode with the other is software?

Do they have interrupt and/or timer conflicts in their default configuration?

Both use Timer1 by default and that will cause a conflict.

See the description for the Start() function for how to use a different timer.