Victor Gonzalez
/
ProyectoOCT
Proyecto 1
main.cpp@0:e365827d01ed, 2016-02-10 (annotated)
- Committer:
- vikglz
- Date:
- Wed Feb 10 18:16:03 2016 +0000
- Revision:
- 0:e365827d01ed
Primer proyecto de PSE
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vikglz | 0:e365827d01ed | 1 | #include "mbed.h" |
vikglz | 0:e365827d01ed | 2 | |
vikglz | 0:e365827d01ed | 3 | DigitalOut myled(LED1); |
vikglz | 0:e365827d01ed | 4 | |
vikglz | 0:e365827d01ed | 5 | int main() { |
vikglz | 0:e365827d01ed | 6 | while(1) { |
vikglz | 0:e365827d01ed | 7 | myled = 1; |
vikglz | 0:e365827d01ed | 8 | wait(0.2); |
vikglz | 0:e365827d01ed | 9 | myled = 0; |
vikglz | 0:e365827d01ed | 10 | wait(0.2); |
vikglz | 0:e365827d01ed | 11 | } |
vikglz | 0:e365827d01ed | 12 | } |