tim010 tim010
/
LV9-tim010-grupa-6zad2
Josip Kvesić
main.cpp@0:acae693b0964, 2014-05-15 (annotated)
- Committer:
- tim010
- Date:
- Thu May 15 15:13:24 2014 +0000
- Revision:
- 0:acae693b0964
- Child:
- 1:bc5be4e9b077
LV9-PAI_grupa6-tim010
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tim010 | 0:acae693b0964 | 1 | #include "mbed.h" |
tim010 | 0:acae693b0964 | 2 | |
tim010 | 0:acae693b0964 | 3 | DigitalOut myled(LED1); |
tim010 | 0:acae693b0964 | 4 | |
tim010 | 0:acae693b0964 | 5 | int main() { |
tim010 | 0:acae693b0964 | 6 | while(1) { |
tim010 | 0:acae693b0964 | 7 | myled = 1; |
tim010 | 0:acae693b0964 | 8 | wait(0.2); |
tim010 | 0:acae693b0964 | 9 | myled = 0; |
tim010 | 0:acae693b0964 | 10 | wait(0.2); |
tim010 | 0:acae693b0964 | 11 | } |
tim010 | 0:acae693b0964 | 12 | } |