Jiajun Zhang
/
DACandticker
LAB 3 DAC
Fork of DACandticker_sample by
Diff: main.cpp
- Revision:
- 3:1df612e3c838
- Parent:
- 2:e27fd3b65155
--- a/main.cpp Wed Jan 24 22:56:54 2018 +0000 +++ b/main.cpp Fri Feb 09 21:13:03 2018 +0000 @@ -13,6 +13,7 @@ Ticker tick ; // Creates periodic interrupt AnalogOut ao(PTE30) ; // Analog output + // Function called periodically // Write new value to AnalogOut volatile int index = 0 ; // index into array of sin values