tim003 tim003
/
LV1_Grupa2_Tim003_Zadatak1
Granulo Eldar Ljubuncic Orhan
main.cpp@0:b725fba54251, 2014-03-03 (annotated)
- Committer:
- tim003
- Date:
- Mon Mar 03 09:18:17 2014 +0000
- Revision:
- 0:b725fba54251
LV1-PAI-Grupa2-Tim003
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tim003 | 0:b725fba54251 | 1 | #include "mbed.h" |
tim003 | 0:b725fba54251 | 2 | |
tim003 | 0:b725fba54251 | 3 | DigitalOut myled(LED2); |
tim003 | 0:b725fba54251 | 4 | |
tim003 | 0:b725fba54251 | 5 | int main() |
tim003 | 0:b725fba54251 | 6 | { |
tim003 | 0:b725fba54251 | 7 | while(1) { |
tim003 | 0:b725fba54251 | 8 | myled = 1; |
tim003 | 0:b725fba54251 | 9 | wait(1); |
tim003 | 0:b725fba54251 | 10 | myled=0; |
tim003 | 0:b725fba54251 | 11 | wait(1); |
tim003 | 0:b725fba54251 | 12 | |
tim003 | 0:b725fba54251 | 13 | } |
tim003 | 0:b725fba54251 | 14 | |
tim003 | 0:b725fba54251 | 15 | |
tim003 | 0:b725fba54251 | 16 | } |