Real Time Lab Program

Dependencies:   mbed

Committer:
robt
Date:
Sun Jan 25 16:23:00 2015 +0000
Revision:
0:5082fc0d4388
Real Time Lab Program

Who changed what in which revision?

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