This is a program to output a sinwave in 12 bits Digital to Analog converter MCP4922. Sampling frequency is 166,667Hz and produce an interrupt of Ticker every 6uS. The Program calculates the data of the sinewave beforehand.
Revision 1:09b69f38fc73, committed 2011-05-12
- Comitter:
- jf1vrr
- Date:
- Thu May 12 11:12:47 2011 +0000
- Parent:
- 0:5737b1972549
- Commit message:
- Rev, 0.01A New 2011/05/11
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed May 11 12:04:37 2011 +0000 +++ b/main.cpp Thu May 12 11:12:47 2011 +0000 @@ -1,7 +1,7 @@ /*This is a program to output a sinwave in 12 bits Digital to Analog converter MCP4922. Sampling frequency is 166,667Hz and produce an interrupt of Ticker every 6uS. -The Program calculates the data of the signature wave beforehand. +The Program calculates the data of the sinewave beforehand. */ #include "mbed.h" #include "TextLCD.h"