tim010 tim010
/
LV1_Grupa7_Tim010_Zadatak1
Džafić Faris Kunić Edis
main.cpp@0:b9a91a075f9c, 2014-03-06 (annotated)
- Committer:
- tim010
- Date:
- Thu Mar 06 17:14:34 2014 +0000
- Revision:
- 0:b9a91a075f9c
LV1 - PAI - Grupa7 - Tim010
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tim010 | 0:b9a91a075f9c | 1 | #include "mbed.h" |
tim010 | 0:b9a91a075f9c | 2 | |
tim010 | 0:b9a91a075f9c | 3 | DigitalOut myled(LED1); |
tim010 | 0:b9a91a075f9c | 4 | |
tim010 | 0:b9a91a075f9c | 5 | int main() { |
tim010 | 0:b9a91a075f9c | 6 | while(1) { |
tim010 | 0:b9a91a075f9c | 7 | myled = 1; |
tim010 | 0:b9a91a075f9c | 8 | wait(1); |
tim010 | 0:b9a91a075f9c | 9 | myled = 0; |
tim010 | 0:b9a91a075f9c | 10 | wait(1); |
tim010 | 0:b9a91a075f9c | 11 | } |
tim010 | 0:b9a91a075f9c | 12 | } |