Lab 1 - Hello world

Dependencies:   mbed

Fork of FTF2014_lab1 by Freescale

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 
00003 DigitalOut myled(LED1);
00004 
00005 int main() {
00006     printf("Hello World from FRDM-K64F board.\n");
00007 
00008     while (true) {
00009         wait(0.5);
00010         myled = !myled;
00011     }
00012 }
00013