JIAWEI ZHANG / Mbed 2 deprecated ele350ku

Dependencies:   mbed

Dependents:   Exercise8_1-2-3

Fork of ele350 by JIAWEI ZHANG

Revision:
49:da7b177b5245
Parent:
48:a72a8624bf2d
Child:
51:8bc1d7ffd3da
diff -r a72a8624bf2d -r da7b177b5245 sine_app.cpp
--- a/sine_app.cpp	Fri Dec 18 13:28:07 2015 +0000
+++ b/sine_app.cpp	Fri Dec 18 13:31:52 2015 +0000
@@ -11,8 +11,6 @@
     App::start();
     this->analogOut->write(this->amplitude/2.95f);
     this->timer.start(); 
-    
-    amplitude = 2.95f;
     if ( this->amplitude > 2.95f ) {
        this->analogOut->write(0);
     } else { this->analogOut->write(this->amplitude/2.95f);}