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.

Dependencies:   TextLCD mbed

Auto generated API documentation and code listings for MCP4922_Sinewave

Code

main.cpp [code]
MCP4922.cpp [code]
MCP4922.h [code]