
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.
Diff: main.cpp
- Revision:
- 1:09b69f38fc73
- Parent:
- 0:5737b1972549
--- 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"