7.1

Dependencies:   mbed

Fork of Oppgave2 by Sølibatgutt

Revision:
1:07b498c93e9a
Parent:
0:fe54cfab4520
Child:
2:6d50b444c4df
--- a/main.cpp	Tue Sep 05 11:16:50 2017 +0000
+++ b/main.cpp	Tue Sep 05 11:21:11 2017 +0000
@@ -2,11 +2,17 @@
 
 BusOut teller(p21, p22, p23, p24, p25, p26);
 
-int main() {
+int main()
+{
     while(1) {
         int x = teller;
         x = ++;
+        x <= 63;
         wait(0.25);
-        
+        if ( x = 63) {
+            x = 0
+        } else {
+            x = ++;
+        }
     }
 }