Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: megha.h
- Revision:
- 0:997cdda95b63
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/megha.h Thu Dec 01 10:30:56 2016 +0000 @@ -0,0 +1,29 @@ +#include "mbed.h" + +BusOut seg1(p5,p6,p7,p8,p9,p10,p11,p12); +int main () +{ + while(1) + { + seg1=0x3f; + wait(0.2); + seg1=0x06; + wait(0.2); + seg1=0x5b; + wait(0.2); + seg1=0x4f; + wait(0.2); + seg1=0x66; + wait(0.2); + seg1=0x6d; + wait(0.2); + seg1=0x7d; + wait(0.2); + seg1=0x07; + wait(0.2); + seg1=0x7f; + wait(0.2); + seg1=0x6f; + wait(0.2); + } + } \ No newline at end of file