Jared's DAC Code

Dependencies:   mbed

Dependents:   DCS_FINAL_CODE

Fork of Chemical_Sensor_DMA by Jared Baxter

Revision:
2:3771b3195c7b
Child:
7:af255a90505e
diff -r f0a5690db73f -r 3771b3195c7b Sample/adc.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Sample/adc.h	Thu Oct 29 17:15:20 2015 +0000
@@ -0,0 +1,18 @@
+#ifndef ADC_H_
+#define ADC_H_
+
+#include "mbed.h"
+#include "dma.h"
+
+
+/***
+ * Initializes the ADC to 16-bit single-ended, hardware triggered
+ * with DMA enabled.
+ **/
+void adc_init();
+int adc_cal(void);
+//void adc_single_sample();
+//void adc_start();
+//void adc_stop();
+
+#endif /* ADC_H_ */
\ No newline at end of file