mejialed
Fork of mejialed by
mejialed.h@0:eba8ed65d1e7, 2016-02-17 (annotated)
- Committer:
- Jamg
- Date:
- Wed Feb 17 14:24:05 2016 +0000
- Revision:
- 0:eba8ed65d1e7
- Child:
- 1:bf975ccc0fbd
mejialed;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jamg | 0:eba8ed65d1e7 | 1 | #include "mbed.h" |
Jamg | 0:eba8ed65d1e7 | 2 | |
Jamg | 0:eba8ed65d1e7 | 3 | DigitalOut myled(LED1); |
Jamg | 0:eba8ed65d1e7 | 4 | |
Jamg | 0:eba8ed65d1e7 | 5 | int main() { |
Jamg | 0:eba8ed65d1e7 | 6 | while(1) { |
Jamg | 0:eba8ed65d1e7 | 7 | myled = 1; |
Jamg | 0:eba8ed65d1e7 | 8 | wait(0.2); |
Jamg | 0:eba8ed65d1e7 | 9 | myled = 0; |
Jamg | 0:eba8ed65d1e7 | 10 | wait(0.2); |
Jamg | 0:eba8ed65d1e7 | 11 | } |
Jamg | 0:eba8ed65d1e7 | 12 | } |