Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Committer:
soonerbot
Date:
Fri Nov 15 17:33:59 2013 +0000
Revision:
0:3a3dd78038a6
Child:
1:c28fac16a109
Initial commit on standard Mbed board

Who changed what in which revision?

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