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:3ba635798440
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Fri Mar 13 06:08:26 2015 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "seg7_LED.h"
+
+seg7_LED seg7led(p24, p23, p18, p19, p20, p22, p21);
+
+
+int main(){
+ while(1){
+ for(int i = 0; i < 10; i++){
+ seg7led.disp_num(i);
+ wait(0.5);
+ seg7led.disp_num(i);
+ wait(0.5);
+ }
+ }
+
+ return 0;
+}
\ No newline at end of file