tim003 tim003
/
LV1_Grupa1_Tim003
Adnan Muslija Tarik Demirović
main.cpp@0:9e0ab451d06f, 2014-03-03 (annotated)
- Committer:
- tim003
- Date:
- Mon Mar 03 07:22:05 2014 +0000
- Revision:
- 0:9e0ab451d06f
LV1 - PAI - Grupa 1 - Tim003
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tim003 | 0:9e0ab451d06f | 1 | #include "mbed.h" |
tim003 | 0:9e0ab451d06f | 2 | |
tim003 | 0:9e0ab451d06f | 3 | DigitalOut myled(LED2); |
tim003 | 0:9e0ab451d06f | 4 | |
tim003 | 0:9e0ab451d06f | 5 | int main() { |
tim003 | 0:9e0ab451d06f | 6 | while(1) { |
tim003 | 0:9e0ab451d06f | 7 | myled = 1; |
tim003 | 0:9e0ab451d06f | 8 | wait(1); |
tim003 | 0:9e0ab451d06f | 9 | myled = 0; |
tim003 | 0:9e0ab451d06f | 10 | wait(1); |
tim003 | 0:9e0ab451d06f | 11 | } |
tim003 | 0:9e0ab451d06f | 12 | } |