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
main.cpp
- Committer:
- yihui
- Date:
- 2014-04-28
- Revision:
- 0:89330707469d
- Child:
- 1:f45925081128
File content as of revision 0:89330707469d:
#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);
}
}
