![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Maedeh Mousavi Haris Šemić
main.cpp@0:4da8338a4685, 2014-03-06 (annotated)
- Committer:
- tim004
- Date:
- Thu Mar 06 15:27:04 2014 +0000
- Revision:
- 0:4da8338a4685
LV1 - PAI - Grupa 6 - Tim004
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tim004 | 0:4da8338a4685 | 1 | #include "mbed.h" |
tim004 | 0:4da8338a4685 | 2 | DigitalOut myled(LED1); |
tim004 | 0:4da8338a4685 | 3 | |
tim004 | 0:4da8338a4685 | 4 | int main(){ |
tim004 | 0:4da8338a4685 | 5 | while(1) { |
tim004 | 0:4da8338a4685 | 6 | myled = 1 ; |
tim004 | 0:4da8338a4685 | 7 | wait(1); |
tim004 | 0:4da8338a4685 | 8 | myled = 0 ; |
tim004 | 0:4da8338a4685 | 9 | wait (1) ; |
tim004 | 0:4da8338a4685 | 10 | } |
tim004 | 0:4da8338a4685 | 11 | } |