
Code for FRDM-K64F
Revision 0:5a4eca5d4759, committed 2017-01-05
- Comitter:
- gopal_amlekar
- Date:
- Thu Jan 05 16:40:26 2017 +0000
- Commit message:
- Trying out FRDM-K64F basic code
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 5a4eca5d4759 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Jan 05 16:40:26 2017 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" + +DigitalOut rgb(PTB22); + + +int main() +{ + while (1) + { + rgb = 1; + wait (0.5); + rgb = 0; + wait (0.5); + } +} +
diff -r 000000000000 -r 5a4eca5d4759 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Jan 05 16:40:26 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/9baf128c2fab \ No newline at end of file