Chris Styles / m0-helloworld
Committer:
chris
Date:
Thu Oct 20 10:59:20 2011 +0000
Revision:
1:340d210a0bef
Parent:
0:f59ddb971c22

        

Who changed what in which revision?

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