MCP4922 as DAC for arduino (volatage controled synth)

Hello

Im looking for a sample code to remote this dac with the arduino. A friend write a nice sequencer on the arduino, but we have some trouble to establish the communication with the DAC.

Any sample code that let us see how to set an output to a desired value could help us a lot. Desired output resolution is 12 bit. but any code that run at lower resolution is welcome.

thank you