pham the toan
/
Cui_mia_team
my code update
Fork of Cui_mia_team by
main.cpp@0:3cafa5eeee75, 2016-08-31 (annotated)
- Committer:
- toanpt3
- Date:
- Wed Aug 31 12:42:33 2016 +0000
- Revision:
- 0:3cafa5eeee75
Hello
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
toanpt3 | 0:3cafa5eeee75 | 1 | #include "mbed.h" |
toanpt3 | 0:3cafa5eeee75 | 2 | |
toanpt3 | 0:3cafa5eeee75 | 3 | DigitalOut myled(LED1); |
toanpt3 | 0:3cafa5eeee75 | 4 | |
toanpt3 | 0:3cafa5eeee75 | 5 | int main() { |
toanpt3 | 0:3cafa5eeee75 | 6 | while(1) { |
toanpt3 | 0:3cafa5eeee75 | 7 | myled = 1; |
toanpt3 | 0:3cafa5eeee75 | 8 | wait(0.2); |
toanpt3 | 0:3cafa5eeee75 | 9 | myled = 0; |
toanpt3 | 0:3cafa5eeee75 | 10 | wait(0.2); |
toanpt3 | 0:3cafa5eeee75 | 11 | } |
toanpt3 | 0:3cafa5eeee75 | 12 | } |