My question is : can I connect the TLC5940 and the Usb Host Shlied (the one from circuit@home) on the arduino at the same time ?
The USB host shield seems to use these pins :
Digital Pin 7 used for MAX_RESET
Digital Pin 8 used for GPX
Digital Pin 9/PWM used for INT
Digital Pin 10/PWM used for SS
Digital Pin 11/PWM used for MOSI
Digital Pin 12 used for MISO
Digital Pin 13/LED used for SCLK
And the TLC5940 use these pins :
Digital Pin 13 used for SCLK
Digital Pin 11 used for SIN
Digital Pin 10 used for BLANK
Digital Pin 9 used for XLAT
Digital Pin 3 used for GSCLK
Thanks for reading and sorry for my bad english
EDIT : I also found a moded TLC5940 library using these pins :
Digital Pin 4 used for SCLK
Digital Pin 7 used for SIN
Digital Pin 10 used for BLANK
Digital Pin 9 used for XLAT
Digital Pin 3 used for GSCLK
With this mod the pin map for the Usb Host Shield should be like this :
Digital Pin 7 used for MAX_RESET
Digital Pin 8 used for GPX
Digital Pin 5/PWM used for INT
Digital Pin 6/PWM used for SS
Digital Pin 11/PWM used for MOSI
Digital Pin 12 used for MISO
Digital Pin 13/LED used for SCLK
The moded TLC5940 library use these pins :
Digital Pin 4 used for SCLK
Digital Pin 7 used for SIN
Digital Pin 10 used for BLANK
Digital Pin 9 used for XLAT
Digital Pin 3 used for GSCLK
Pin 7 is already used by the USB Host ^^
But it seems that I can modify the SCLK and SIN pin for TLC5940 library.
The only arduino pin free is the pin 2...
So, the final pin map should be :
usb host :
Digital Pin 7 used for MAX_RESET
Digital Pin 8 used for GPX
Digital Pin 5/PWM used for INT
Digital Pin 6/PWM used for SS
Digital Pin 11/PWM used for MOSI
Digital Pin 12 used for MISO
Digital Pin 13/LED used for SCLK
tlc5940 :
Digital Pin 4 used for SCLK
Digital Pin 2 used for SIN
Digital Pin 10 used for BLANK
Digital Pin 9 used for XLAT
Digital Pin 3 used for GSCLK