Volume on a STA540

I'm trying to control the volume on a STA540 based amp (this one http://www.sparkfun.com/products/9612). The plan is to use a an AD5206 digital pot (http://www.analog.com/static/imported-files/data_sheets/AD5204_5206.pdf) and simply wire the leads to the AD5206 instead of the POT ?

I actually tried and it didn't work right, the volume wouldn't change. Any help or ideas would be great.

I'm using the 10K AD5206, and after I hooked everything up like I said the volume was right in the middle (checked with a meter) and wouldn't change, I then wired the AD5206 to a set of LEDs like in this example (http://www.arduino.cc/en/Tutorial/SPIDigitalPot) and it still wouldn't change the brightness. I ordered a new AD5206 and hopefully that will be here soon but I'm not sure what to do ... I'm going to hook up the LEDs first and see if that works right but if anyone has any ideas if this is going to work or if I need to do something else that would be great.

Thanks

I did .... I loaded the test app on the example and the ad5206 wouldn't change on any channel

Why do you say its complex ?

I see ... I actually want to control 4 channels ... I could have used that chip, but should it be a direct drop in replacing the pot or do I need to put anything in between the amp and the digital pot ?

I'm wondering if the amp is blowing out the digital pot ?

I started with the example http://www.arduino.cc/en/Tutorial/SPIDigitalPot

I was hoping that it should have turned the volume up and down ... but nothing happened

you don't think that amp would have don't anything to the AD5206 ?

or I guess its possible I had a bad AD5206, (I'm using a nano, I saw somewhere that on the arduino NG you had to remove the built in LED for SPI to work but I didn't think that applied to the nano)

right the only reason I hooked up the LEDs was to test it ...

the POTS that are in the amp kit are 10K thats why I got that AD5206

Correct ... I just copy and pasted the code directly off the website in to the dev enviroment