Generate sine wave, using analog output

Dependencies:   mbed WaveGen

Dependents:   WaveGen

Files at this revision

API Documentation at this revision

Comitter:
aaronice
Date:
Fri Feb 14 08:00:07 2014 +0000
Parent:
2:e723d10f745d
Child:
4:ec289b4b7758
Commit message:
bug fixed

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
wavegen.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Feb 12 18:58:54 2014 +0000
+++ b/main.cpp	Fri Feb 14 08:00:07 2014 +0000
@@ -9,7 +9,7 @@
     float Amp = 1.0;
     float w = 1.0;
     float pi = 3.14159;
-    float deltaT = 0.01
+    float deltaT = 0.01;
 void callback() {
     // Note: you need to actually read from the serial to clear the RX interrupt
     //int AA;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wavegen.lib	Fri Feb 14 08:00:07 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/aaronice/code/WaveGen/#e723d10f745d