Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 1:25c850668cef
- Parent:
- 0:4a6c8e7e8ea7
- Child:
- 2:eb558d650b17
--- a/main.cpp Fri Mar 20 18:04:55 2015 +0000 +++ b/main.cpp Fri Mar 20 20:56:43 2015 +0000 @@ -165,12 +165,10 @@ //output calculation //fOut = fMCLK / 2^28 * FREQREG = 16e6 / 2^28 * FREQREG //FREQREG = fOut * 2^28 / 16e6 = fOut * 16.777216 - setFrequencyWord(0, 134217728); + setFrequencyWord(0, 16777216); selectFrequency(0); setSignOutput(SIGN_OUTPUT_MSB); //open the DDS output SQUARE = 1; - - }