![](/media/cache/profiles/7ed334513e65f01deefba9e87e53ea94.jpg.50x50_q85.jpg)
Programa para testes
main.cpp@2:0d59d31e4ffb, 2015-03-03 (annotated)
- Committer:
- lucas_dataware
- Date:
- Tue Mar 03 06:16:06 2015 +0000
- Revision:
- 2:0d59d31e4ffb
- Parent:
- 0:a6f65085b80e
- Child:
- 3:5aa59a6b4243
Alterado tempo de espera
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mlucas82 | 0:a6f65085b80e | 1 | #include "mbed.h" |
mlucas82 | 0:a6f65085b80e | 2 | |
mlucas82 | 0:a6f65085b80e | 3 | DigitalOut myled(LED1); |
mlucas82 | 0:a6f65085b80e | 4 | |
mlucas82 | 0:a6f65085b80e | 5 | int main() { |
mlucas82 | 0:a6f65085b80e | 6 | while(1) { |
mlucas82 | 0:a6f65085b80e | 7 | myled = 1; |
mlucas82 | 0:a6f65085b80e | 8 | wait(0.2); |
mlucas82 | 0:a6f65085b80e | 9 | myled = 0; |
lucas_dataware | 2:0d59d31e4ffb | 10 | wait(0.3); |
mlucas82 | 0:a6f65085b80e | 11 | } |
mlucas82 | 0:a6f65085b80e | 12 | } |