LED test fork

Dependencies:   mbed

Fork of led_test2 by -deleted-

Committer:
screamer
Date:
Thu Aug 08 14:19:54 2013 +0000
Revision:
1:32f34ee5f90f
Parent:
0:c036415c5965
Child:
2:47097a6f33ab
slowdown blink rate

Who changed what in which revision?

UserRevisionLine numberNew contents of line
screamer 0:c036415c5965 1 #include "mbed.h"
screamer 0:c036415c5965 2
screamer 0:c036415c5965 3 DigitalOut myled(LED1);
screamer 0:c036415c5965 4 DigitalOut myled2(LED2);
screamer 0:c036415c5965 5
screamer 0:c036415c5965 6 int main() {
screamer 0:c036415c5965 7 while(1) {
screamer 0:c036415c5965 8 myled = 1;
screamer 0:c036415c5965 9 myled2 = 0;
screamer 1:32f34ee5f90f 10 wait(0.5);
screamer 0:c036415c5965 11 myled = 0;
screamer 0:c036415c5965 12 myled2 = 1;
screamer 1:32f34ee5f90f 13 wait(0.5);
screamer 0:c036415c5965 14 }
screamer 0:c036415c5965 15 }