Lab 1 - Hello world
Dependencies: mbed
Fork of FTF2014_lab1 by
Diff: main.cpp
- Revision:
- 0:2447103e1bae
--- /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; + } +} +