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@0:78c21a02dfc9, 2017-08-19 (annotated)
- Committer:
- LCRodriguez
- Date:
- Sat Aug 19 21:51:52 2017 +0000
- Revision:
- 0:78c21a02dfc9
Conta7seg
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| LCRodriguez | 0:78c21a02dfc9 | 1 | #include "BCDSEG.h" |
| LCRodriguez | 0:78c21a02dfc9 | 2 | |
| LCRodriguez | 0:78c21a02dfc9 | 3 | Serial pc(USBTX,USBRX); |
| LCRodriguez | 0:78c21a02dfc9 | 4 | int numero; |
| LCRodriguez | 0:78c21a02dfc9 | 5 | int main() |
| LCRodriguez | 0:78c21a02dfc9 | 6 | { |
| LCRodriguez | 0:78c21a02dfc9 | 7 | And nuevo; |
| LCRodriguez | 0:78c21a02dfc9 | 8 | nuevo.ve(D6,D7,D8,D9,D10,D11,D12); |
| LCRodriguez | 0:78c21a02dfc9 | 9 | while(1) |
| LCRodriguez | 0:78c21a02dfc9 | 10 | { |
| LCRodriguez | 0:78c21a02dfc9 | 11 | numero=nuevo.entrada(D2,D3,D4,D5); |
| LCRodriguez | 0:78c21a02dfc9 | 12 | nuevo.bcd(numero); |
| LCRodriguez | 0:78c21a02dfc9 | 13 | wait(0.6); |
| LCRodriguez | 0:78c21a02dfc9 | 14 | } |
| LCRodriguez | 0:78c21a02dfc9 | 15 | } |
| LCRodriguez | 0:78c21a02dfc9 | 16 |