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: main.cpp
- Revision:
- 0:3f47115fe359
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Sep 29 06:15:17 2015 +0000
@@ -0,0 +1,27 @@
+#include "mbed.h"
+
+BusOut seg(p8,p12,p11,p5,p6,p7,p9,p10);
+int main()
+{
+ seg=0x7e; //0
+ wait(1);
+ seg=0x30; //1
+ wait(1);
+ seg=0x6d; //2
+ wait(1);
+ seg=0x79; //3
+ wait(1);
+ seg=0x33; //4
+ wait(1);
+ seg=0xa2; //5
+ wait(1);
+ seg=0xa0; //6
+ wait(1);
+ seg=0x37; //7
+ wait(1);
+ seg=0x20; //8
+ wait(1);
+ seg=0x02; //9
+ wait(1);
+}
+