gfgf

Dependencies:   SevenSegLed mbed

main.cpp

Committer:
HisyamSulaiman
Date:
2018-05-17
Revision:
0:b957706fdaee

File content as of revision 0:b957706fdaee:

#include "mbed.h"

BusOut segment(D7,D8,D9,D10,D11,D12,D13);

int main() {
    while(1) {
     segment = 1;
     wait (0.2);
     segment =  3;
     wait (0.2);
    segment = 7;
     wait (0.2);
     segment = 15;
     wait (0.2);
     segment = 31;
     wait (0.2);
     segment =  63;
     wait (0.2);
     segment = 127;
     wait (0.2);
    
    }
}