u_guessed_it / Mbed 2 deprecated red_rover

Dependencies:   mbed MODSERIAL telemetry-master

Committer:
cheryl_he
Date:
Tue May 05 00:24:18 2015 +0000
Revision:
0:453d27750ab3
Child:
1:ff0fc50372c8
commit init

Who changed what in which revision?

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