![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
dac subsystem
main.cpp
- Committer:
- dzl5187
- Date:
- 2014-04-01
- Revision:
- 0:c7adfe979a5b
File content as of revision 0:c7adfe979a5b:
#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(); } }