Nick Østergaard / Mbed 2 deprecated BlinkenLichts

Dependencies:   mbed

Fork of HelloWorld by Scott Janousek

Committer:
scottjanousek
Date:
Mon Jan 16 00:41:25 2012 +0000
Revision:
0:9e403784a09d
Child:
1:a6b892ff0ec0

        

Who changed what in which revision?

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