shao ziyang
/
Nucleo_F030_blink_led
test
Revision 0:4ab2cbe4a325, committed 2014-08-28
- Comitter:
- shaoziyang
- Date:
- Thu Aug 28 07:21:43 2014 +0000
- Commit message:
- test
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r 4ab2cbe4a325 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Aug 28 07:21:43 2014 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +DigitalOut LED_2(PA_5); +//DigitalOut LED_3(PA_3); + +int main() { + while(1) { + LED_2 = !LED_2; + //LED_3 = !LED_3; + wait(0.5); + + } +}
diff -r 000000000000 -r 4ab2cbe4a325 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Aug 28 07:21:43 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/9327015d4013 \ No newline at end of file