JIAWEI ZHANG / Mbed 2 deprecated ele350ku

Dependencies:   mbed

Dependents:   Exercise8_1-2-3

Fork of ele350 by JIAWEI ZHANG

Revision:
50:daa64b483569
Parent:
49:da7b177b5245
Child:
54:aee1b44e62ec
--- a/square_app.cpp	Fri Dec 18 13:31:52 2015 +0000
+++ b/square_app.cpp	Fri Dec 18 13:44:47 2015 +0000
@@ -27,7 +27,7 @@
     
     if ( this->frequence > 50.0f ) {
        this->analogOut->write(0);
-    } else { this->analogOut->write(this->amplitude/2.95f);}
+    } 
 }
 
 void SquareApp::stop()