TLC5940 & Adafruit PN532 RFID Shield Conflict

I’m using a TLC5940 chip to PWN 4 RGB LEDS with a Duemilanove. This works fine on it’s own.
After adding the Adafruit PN532 RFID shield I can PWN the LEDS in void setup() and they work fine.
Once in the main loop, this no longer works and I have lost control of the LEDS.

I believe the conflict is in pin 3. The TLC5940 library uses pin 3 as the GSCLK or clock for PWM.

I know I saw pin 3 from the shield used for something, but can’t find it now as there is no datasheet yet.
Ah, here it is.
The example sketch has this:

#define RESET (3)  // Not connected by default on the NFC Shield

I have tried changing pin 3 in the TLC5940 library to pin 5 but this does not work.
Any ideas or advice?


My code is attached as well.

readMifareTest10.ino (8.41 KB)