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.
main.cpp
- Committer:
- yu10078999
- Date:
- 2016-09-04
- Revision:
- 1:3b2422723265
- Parent:
- 0:74befa7c834e
File content as of revision 1:3b2422723265:
#include "mbed.h"
BusOut seg(D7,D6,D2,D3,D4,D5,D0);
int main() {
const int number[10]= {
0x7E,
0x30,
0x6D,
0x79,
0x33,
0x5B,
0x1F,
0x70,
0x7F,
0x73
};
while(1) {
for(int i=0;i<=9;i++){
seg=number[i];
wait(0.5);
}
}
}