A demo code which shows working of DAC(mcp4921) with SPI via spidev(/dev/spidevX.Y)