Arduino DDS Sinewave Generator

Hello,
firstly many thanks at Martin for your useful and interesting work about sine wave generation on Arduino!
I build it in the same way and amplified the sinevawe with the TDA7052. It works fine.
But now I need also to regulate the volume with a digital potentiometer.
I found this example:
http://www.instructables.com/id/Digital-Potentiometer-MCP41100-and-Arduino/all/?lang=de
Unfortunately the ISP communication needs PIN 11 for MOSI.
http://arduino.cc/de/Reference/SPI
To solve this problem, I tried to change the frequency output pin11 to pin3,
pinMode(11, OUTPUT); // pin11= PWM output / frequency output now
pinMode(3, OUTPUT); // pin3= PWM output / frequency output

Timer 2 is assigned to pin11 and pin3
Dieser Webserver ist inaktiv, but it didn’t work.

Are there also other changes to make? Maybe anyone knows what to do?