mbed-src compile test (with mbed-src rev78)
main.cpp@0:70d6ddcf8d40, 2014-01-31 (annotated)
- Committer:
- nxpfan
- Date:
- Fri Jan 31 07:10:11 2014 +0000
- Revision:
- 0:70d6ddcf8d40
mbed-src library compile test (with mbed-src rev78)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nxpfan | 0:70d6ddcf8d40 | 1 | #include "mbed.h" |
nxpfan | 0:70d6ddcf8d40 | 2 | |
nxpfan | 0:70d6ddcf8d40 | 3 | DigitalOut myled(LED1); |
nxpfan | 0:70d6ddcf8d40 | 4 | |
nxpfan | 0:70d6ddcf8d40 | 5 | int main() { |
nxpfan | 0:70d6ddcf8d40 | 6 | while(1) { |
nxpfan | 0:70d6ddcf8d40 | 7 | myled = 1; |
nxpfan | 0:70d6ddcf8d40 | 8 | wait(0.2); |
nxpfan | 0:70d6ddcf8d40 | 9 | myled = 0; |
nxpfan | 0:70d6ddcf8d40 | 10 | wait(0.2); |
nxpfan | 0:70d6ddcf8d40 | 11 | } |
nxpfan | 0:70d6ddcf8d40 | 12 | } |