Shuto Naruse
/
TestPrograme
Test Program Distributed
main.cpp@0:fa45bb4fb70e, 2012-10-17 (annotated)
- Committer:
- narshu
- Date:
- Wed Oct 17 22:18:34 2012 +0000
- Revision:
- 0:fa45bb4fb70e
My first Commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
narshu | 0:fa45bb4fb70e | 1 | #include "mbed.h" |
narshu | 0:fa45bb4fb70e | 2 | |
narshu | 0:fa45bb4fb70e | 3 | DigitalOut myled(LED1); |
narshu | 0:fa45bb4fb70e | 4 | |
narshu | 0:fa45bb4fb70e | 5 | int main() { |
narshu | 0:fa45bb4fb70e | 6 | while(1) { |
narshu | 0:fa45bb4fb70e | 7 | myled = 1; |
narshu | 0:fa45bb4fb70e | 8 | wait(0.2); |
narshu | 0:fa45bb4fb70e | 9 | myled = 0; |
narshu | 0:fa45bb4fb70e | 10 | wait(0.2); |
narshu | 0:fa45bb4fb70e | 11 | } |
narshu | 0:fa45bb4fb70e | 12 | } |