Code for Working with the MCP4922 DAC.  Most is for Arduino.