7.1

Dependencies:   mbed

Fork of Oppgave2 by Sølibatgutt

main.cpp

Committer:
andreped
Date:
2017-09-05
Revision:
1:07b498c93e9a
Parent:
0:fe54cfab4520
Child:
2:6d50b444c4df

File content as of revision 1:07b498c93e9a:

#include "mbed.h"

BusOut teller(p21, p22, p23, p24, p25, p26);

int main()
{
    while(1) {
        int x = teller;
        x = ++;
        x <= 63;
        wait(0.25);
        if ( x = 63) {
            x = 0
        } else {
            x = ++;
        }
    }
}