Test program.

Dependencies:   mbed

Committer:
thomasjanke
Date:
Thu Nov 08 13:08:44 2012 +0000
Revision:
0:e9378776dc00
Initial commit of hello world sample.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
thomasjanke 0:e9378776dc00 1 #include "mbed.h"
thomasjanke 0:e9378776dc00 2
thomasjanke 0:e9378776dc00 3 DigitalOut myled(LED2);
thomasjanke 0:e9378776dc00 4
thomasjanke 0:e9378776dc00 5 int main() {
thomasjanke 0:e9378776dc00 6 while(1) {
thomasjanke 0:e9378776dc00 7 myled = 1;
thomasjanke 0:e9378776dc00 8 wait(0.2);
thomasjanke 0:e9378776dc00 9 myled = 0;
thomasjanke 0:e9378776dc00 10 wait(0.2);
thomasjanke 0:e9378776dc00 11 }
thomasjanke 0:e9378776dc00 12 }