![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
dac controller for EE300 project
main.cpp
- Committer:
- dzl5187
- Date:
- 2014-04-04
- Revision:
- 1:4bd950ab8756
File content as of revision 1:4bd950ab8756:
#include "mbed.h" #include "log.h" #include "DAC.h" #include "mcp4725.h" Timer programTimer; //Timer DACC_timer; //DigitalOut testLed(LED1); int main() { DAC_set(3.0, FREQ_1HZ, FORM_SQUARE); DAC_start(); while(1) { DAC_generate(); } }