Function generator using AD9835 with Raspberry Pi

PS.: the same code works perfect on arduino.

thats cool then ( this is an Arduino forum.......... )