Eduvance vanmat
/
03DualSegCounter00_99
Counts 00-99 on Multiplexed Seven Segment Diaplay
main.cpp@0:bd8fd0afc24a, 2014-05-17 (annotated)
- Committer:
- Eduvance
- Date:
- Sat May 17 16:18:55 2014 +0000
- Revision:
- 0:bd8fd0afc24a
- Child:
- 1:c94105b8d9b5
InitialRawCommit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Eduvance | 0:bd8fd0afc24a | 1 | #include "mbed.h" |
Eduvance | 0:bd8fd0afc24a | 2 | |
Eduvance | 0:bd8fd0afc24a | 3 | DigitalOut myled(LED1); |
Eduvance | 0:bd8fd0afc24a | 4 | |
Eduvance | 0:bd8fd0afc24a | 5 | int main() { |
Eduvance | 0:bd8fd0afc24a | 6 | while(1) { |
Eduvance | 0:bd8fd0afc24a | 7 | myled = 1; |
Eduvance | 0:bd8fd0afc24a | 8 | wait(0.2); |
Eduvance | 0:bd8fd0afc24a | 9 | myled = 0; |
Eduvance | 0:bd8fd0afc24a | 10 | wait(0.2); |
Eduvance | 0:bd8fd0afc24a | 11 | } |
Eduvance | 0:bd8fd0afc24a | 12 | } |