The example program for mbed pin-compatible platforms

Dependencies:   mbed

Committer:
asjgrupo4
Date:
Fri Mar 13 15:38:47 2015 +0000
Revision:
0:f15e8919f28b
hello world

Who changed what in which revision?

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