Eduvance vanmat
/
05Binary_Display
Binary_to HEX_on_display
main.cpp@0:ab43b6d5ac7d, 2014-05-17 (annotated)
- Committer:
- Eduvance
- Date:
- Sat May 17 16:34:52 2014 +0000
- Revision:
- 0:ab43b6d5ac7d
InitiaRawCommit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Eduvance | 0:ab43b6d5ac7d | 1 | #include "mbed.h" |
Eduvance | 0:ab43b6d5ac7d | 2 | |
Eduvance | 0:ab43b6d5ac7d | 3 | DigitalOut myled(LED1); |
Eduvance | 0:ab43b6d5ac7d | 4 | |
Eduvance | 0:ab43b6d5ac7d | 5 | int main() { |
Eduvance | 0:ab43b6d5ac7d | 6 | while(1) { |
Eduvance | 0:ab43b6d5ac7d | 7 | myled = 1; |
Eduvance | 0:ab43b6d5ac7d | 8 | wait(0.2); |
Eduvance | 0:ab43b6d5ac7d | 9 | myled = 0; |
Eduvance | 0:ab43b6d5ac7d | 10 | wait(0.2); |
Eduvance | 0:ab43b6d5ac7d | 11 | } |
Eduvance | 0:ab43b6d5ac7d | 12 | } |