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.
Revision 0:47728cea4555, committed 2016-11-30
- Comitter:
- akshay28
- Date:
- Wed Nov 30 10:34:26 2016 +0000
- Commit message:
- seven segment display
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Nov 30 10:34:26 2016 +0000 @@ -0,0 +1,45 @@ +#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; + +} +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Nov 30 10:34:26 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/d75b3fe1f5cb \ No newline at end of file