Jared's DAC Code
Dependencies: mbed
Fork of Chemical_Sensor_DMA by
Diff: Sample/adc.h
- Revision:
- 7:af255a90505e
- Parent:
- 2:3771b3195c7b
diff -r 63de50ac29be -r af255a90505e Sample/adc.h --- a/Sample/adc.h Fri Nov 06 20:50:30 2015 +0000 +++ b/Sample/adc.h Sat Dec 19 21:47:52 2015 +0000 @@ -1,18 +1,19 @@ #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); +int adc_cal1(void); //void adc_single_sample(); //void adc_start(); //void adc_stop(); - + #endif /* ADC_H_ */ \ No newline at end of file