its a template, it uses public code
Dependencies: Glue MODSERIAL Scissors m3pi mbed
main.cpp@0:29d58b75e636, 2013-07-05 (annotated)
- Committer:
- hex705
- Date:
- Fri Jul 05 13:10:45 2013 +0000
- Revision:
- 0:29d58b75e636
- Child:
- 1:71777756a0c2
first commit a template ;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hex705 | 0:29d58b75e636 | 1 | #include "mbed.h" |
hex705 | 0:29d58b75e636 | 2 | |
hex705 | 0:29d58b75e636 | 3 | DigitalOut myled(LED1); |
hex705 | 0:29d58b75e636 | 4 | |
hex705 | 0:29d58b75e636 | 5 | int main() { |
hex705 | 0:29d58b75e636 | 6 | while(1) { |
hex705 | 0:29d58b75e636 | 7 | myled = 1; |
hex705 | 0:29d58b75e636 | 8 | wait(0.2); |
hex705 | 0:29d58b75e636 | 9 | myled = 0; |
hex705 | 0:29d58b75e636 | 10 | wait(0.2); |
hex705 | 0:29d58b75e636 | 11 | } |
hex705 | 0:29d58b75e636 | 12 | } |