This program makes a sine wave. This converts 360 degrees into radian every once from 0 and gives it in sine function. The value multiply 0.5 by the result of the calculation and add 0.5 to give an offset voltage. As for the value that calculated, it becomes a sin wave of center level 1.65V, 0V at the minimum, up to 3.3V with a DA converter in this way. The sine wave is stored in a local file. Extension is .CSV. You can make a graph by Excel and confirm a sine wave. See: http://blogs.yahoo.co.jp/jf1vrr_station/19797477.html (Japanese)

Dependencies:   TextLCD mbed

TextLCD.lib

Committer:
jf1vrr
Date:
2011-04-17
Revision:
0:9bc069e1c225

File content as of revision 0:9bc069e1c225:

http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37