William Langford
/
biomechanics
2.s997 project code
main.cpp@1:237be92c6fd5, 2013-09-23 (annotated)
- Committer:
- calisch
- Date:
- Mon Sep 23 18:39:43 2013 +0000
- Revision:
- 1:237be92c6fd5
- Parent:
- 0:c2b2588dbe3b
test;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
langfordw | 0:c2b2588dbe3b | 1 | #include "mbed.h" |
calisch | 1:237be92c6fd5 | 2 | //hi will |
langfordw | 0:c2b2588dbe3b | 3 | DigitalOut myled(LED1); |
langfordw | 0:c2b2588dbe3b | 4 | |
langfordw | 0:c2b2588dbe3b | 5 | int main() { |
langfordw | 0:c2b2588dbe3b | 6 | while(1) { |
langfordw | 0:c2b2588dbe3b | 7 | myled = 1; |
langfordw | 0:c2b2588dbe3b | 8 | wait(0.2); |
langfordw | 0:c2b2588dbe3b | 9 | myled = 0; |
langfordw | 0:c2b2588dbe3b | 10 | wait(0.2); |
langfordw | 0:c2b2588dbe3b | 11 | } |
langfordw | 0:c2b2588dbe3b | 12 | } |