Digital Systems Design lab Report
h2odac.h
// dac.h // This software configures DAC output // Runs on LM4F120 or TM4C123 // Program written by: put your names here // Date Created: 8/25/2013 // Last Modified: 10/9/2013 // Lab number: 5 // Hardware connections // Header files contain the prototypes for public functions // this file explains what the module does // **************DAC_Init********************* // Initialize 4-bit DAC, called once // Input: none // Output: none void DAC_Init(void); // **************DAC_Out********************* // output to DAC // Input: 4-bit data, 0 to 15 // Output: none void DAC_Out(unsigned long data);