Equalizer Project

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
shyamgatech
Date:
Sun Nov 22 20:21:59 2020 +0000
Parent:
1:bf0f9f467dbe
Commit message:
testing commit

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r bf0f9f467dbe -r 336a015574af main.cpp
--- a/main.cpp	Sun Nov 22 20:18:57 2020 +0000
+++ b/main.cpp	Sun Nov 22 20:21:59 2020 +0000
@@ -6,9 +6,7 @@
 
 int main() {
     while(1) {
-        myled = 1;
-        wait(0.2);
-        myled = 0;
+        myled = !myled;
         wait(0.2);
     }
 }