Lab 1 - Hello world
Dependencies: mbed
Fork of FTF2014_lab1 by
Revision 0:2447103e1bae, committed 2014-04-03
- Comitter:
- Kojto
- Date:
- Thu Apr 03 08:19:21 2014 +0000
- Child:
- 1:d33b4fa24f52
- Commit message:
- initial version lab1
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 03 08:19:21 2014 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + printf("Hello World from FRDM-K64F board.\n"); + + while (true) { + wait(0.5); + myled = !myled; + } +} +