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.
Dependencies: DigitDisplay mbed
Fork of Arch_Digit_Display by
Diff: main.cpp
- Revision:
- 0:89330707469d
- Child:
- 1:f45925081128
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Mon Apr 28 00:59:56 2014 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "DigitDisplay.h"
+
+DigitDisplay display(P1_14, P1_13); // 4-Digit Display connected to UART Grove connector
+DigitalOut led(LED1);
+
+int main() {
+ int count = 0;
+ while(1) {
+ display = count;
+ count++;
+ led = !led;
+ wait(1);
+ }
+}
