JIAWEI ZHANG / Mbed 2 deprecated ele350ku

Dependencies:   mbed

Dependents:   Exercise8_1-2-3

Fork of ele350 by JIAWEI ZHANG

Files at this revision

API Documentation at this revision

Comitter:
GGHHHH
Date:
Fri Dec 18 13:44:47 2015 +0000
Parent:
49:da7b177b5245
Child:
51:8bc1d7ffd3da
Commit message:
ok

Changed in this revision

square_app.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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()