//function to write an uint32_t to the DAC. The first 10 bits are output void writeDAC(uint32_t valToOutput); //function to send a certain bit pattern to the DAC void sendSPI(uint32_t outputCode); //function to initalize the DAC void initSPIDAC();