pham the toan
/
Cui_mia_team2
my code update
Fork of Cui_mia_team by
main.cpp@1:16457a0d72ae, 2016-08-31 (annotated)
- Committer:
- h4ck3r
- Date:
- Wed Aug 31 12:50:56 2016 +0000
- Revision:
- 1:16457a0d72ae
- Parent:
- 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 | } |