7.1

Dependencies:   mbed

Fork of Oppgave2 by Sølibatgutt

Revision:
2:6d50b444c4df
Parent:
1:07b498c93e9a
Child:
3:cdd8af1b6f39
--- a/main.cpp	Tue Sep 05 11:21:11 2017 +0000
+++ b/main.cpp	Tue Sep 05 11:22:43 2017 +0000
@@ -6,13 +6,12 @@
 {
     while(1) {
         int x = teller;
-        x = ++;
-        x <= 63;
-        wait(0.25);
         if ( x = 63) {
             x = 0
         } else {
+            x >= 63;
             x = ++;
+            wait(0.25);
         }
     }
 }