Isaac Cruz
/
Examen-Equipo03
Equipo 3 - Examen
main.cpp@25:90e7333db6a7, 2019-10-01 (annotated)
- Committer:
- rgsbuap
- Date:
- Tue Oct 01 18:17:17 2019 +0000
- Revision:
- 25:90e7333db6a7
- Parent:
- 24:7f14b70fc9ef
- Child:
- 26:29f649949409
Primer ejemplo en linea
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dan | 0:7dec7e9ac085 | 1 | #include "mbed.h" |
dan | 0:7dec7e9ac085 | 2 | |
rgsbuap | 25:90e7333db6a7 | 3 | DigitalOut foquito2(LED_BLUE); |
dan | 0:7dec7e9ac085 | 4 | |
dan | 0:7dec7e9ac085 | 5 | int main() { |
dan | 0:7dec7e9ac085 | 6 | while(1) { |
rgsbuap | 25:90e7333db6a7 | 7 | foquito2 = 1; |
rgsbuap | 25:90e7333db6a7 | 8 | wait(5); |
rgsbuap | 25:90e7333db6a7 | 9 | foquito2 = 0; |
rgsbuap | 25:90e7333db6a7 | 10 | wait(5); |
stevep | 4:81cea7a352b0 | 11 | } |
dan | 0:7dec7e9ac085 | 12 | } |