tim003 tim003
/
prviprogram
Sumejja Porca Elma Gazetic
Fork of LV1_Grupa4_Tim003 by
main.cpp@0:c4af5c4c483c, 2014-03-03 (annotated)
- Committer:
- tim003
- Date:
- Mon Mar 03 17:17:57 2014 +0000
- Revision:
- 0:c4af5c4c483c
- Child:
- 1:153b7d14f473
LV1 - PAI - Grupa 4 - Tim003
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tim003 | 0:c4af5c4c483c | 1 | #include "mbed.h" |
tim003 | 0:c4af5c4c483c | 2 | |
tim003 | 0:c4af5c4c483c | 3 | DigitalOut myled(LED1); |
tim003 | 0:c4af5c4c483c | 4 | |
tim003 | 0:c4af5c4c483c | 5 | int main() { |
tim003 | 0:c4af5c4c483c | 6 | while(1) { |
tim003 | 0:c4af5c4c483c | 7 | myled = 1; |
tim003 | 0:c4af5c4c483c | 8 | wait(1); |
tim003 | 0:c4af5c4c483c | 9 | myled = 0; |
tim003 | 0:c4af5c4c483c | 10 | wait(1); |
tim003 | 0:c4af5c4c483c | 11 | } |
tim003 | 0:c4af5c4c483c | 12 | } |