test lpc
/
hello
main.cpp@0:a869b943df5b, 2009-08-28 (annotated)
- Committer:
- testlpc
- Date:
- Fri Aug 28 13:15:48 2009 +0000
- Revision:
- 0:a869b943df5b
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
testlpc | 0:a869b943df5b | 1 | #include "mbed.h" |
testlpc | 0:a869b943df5b | 2 | |
testlpc | 0:a869b943df5b | 3 | DigitalOut myled(LED1); |
testlpc | 0:a869b943df5b | 4 | |
testlpc | 0:a869b943df5b | 5 | int main() { |
testlpc | 0:a869b943df5b | 6 | while(1) { |
testlpc | 0:a869b943df5b | 7 | myled = 1; |
testlpc | 0:a869b943df5b | 8 | wait(0.2); |
testlpc | 0:a869b943df5b | 9 | myled = 0; |
testlpc | 0:a869b943df5b | 10 | wait(0.2); |
testlpc | 0:a869b943df5b | 11 | } |
testlpc | 0:a869b943df5b | 12 | } |