akshay birnale / Mbed 2 deprecated mbed_sevenlib

Dependencies:   mbed

main.cpp

Committer:
akshay28
Date:
2016-11-30
Revision:
0:47728cea4555

File content as of revision 0:47728cea4555:

#include "mbed.h"

BusOut port(p5,p6,p7,p8,p9,p10,p11,p12);


main()
{
while(1)

{

port=0X40;
wait(0.5);
port=0X79;
wait(0.5);
port=0X24;
wait(0.5);
port=0X30;
wait(0.5);
port=0X19;
wait(0.5);
port=0X12;
wait(0.5);
port=0X02;
wait(0.5);
port=0Xf8;
wait(0.5);
port=0X00;
wait(0.5);
port=0X10;
wait(0.5);
port=0X08;
wait(0.5);
port=0X00;
wait(0.5);
port=0X46;
wait(0.5);
port=0X40;
wait(0.5);
port=0X06;
wait(0.5);
port=0X0e;

}
}