3.11.2016
Dependencies: mbed
main.cpp
- Committer:
- Jankisha
- Date:
- 2016-11-03
- Revision:
- 0:24fc537f9c4f
File content as of revision 0:24fc537f9c4f:
//Sawtooth waveform on DAC output to view on oscilloscope #include "mbed.h" AnalogOut Aout(p18); float i; int main() { while(1) { for (i=0;i<1;i=i+0.1) { Aout=i; wait(0.001); } } }