SPI on arduino due

fixed ok

I tried this code a couple of years ago and it worked for me with MCP4822.

http://www.kerrywong.com/2012/07/25/code-for-mcp4821-mcp4822/

-p