
Čilić Zlatan Đenašević Emir
main.cpp@0:2c984b9cf086, 2014-03-03 (annotated)
- Committer:
- tim004
- Date:
- Mon Mar 03 07:39:22 2014 +0000
- Revision:
- 0:2c984b9cf086
LV1 - Grupa1 - PAI - Tim004
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tim004 | 0:2c984b9cf086 | 1 | #include "mbed.h" |
tim004 | 0:2c984b9cf086 | 2 | |
tim004 | 0:2c984b9cf086 | 3 | DigitalOut myled(LED1); |
tim004 | 0:2c984b9cf086 | 4 | |
tim004 | 0:2c984b9cf086 | 5 | int main() { |
tim004 | 0:2c984b9cf086 | 6 | while(1) { |
tim004 | 0:2c984b9cf086 | 7 | myled = 1; |
tim004 | 0:2c984b9cf086 | 8 | wait(1); |
tim004 | 0:2c984b9cf086 | 9 | myled = 0; |
tim004 | 0:2c984b9cf086 | 10 | wait(1); |
tim004 | 0:2c984b9cf086 | 11 | } |
tim004 | 0:2c984b9cf086 | 12 | } |