CIS541 / Mbed 2 deprecated CIS541PM

Dependencies:   mbed mbed-rtos TextLCD

Committer:
shibulal
Date:
Mon Nov 23 00:30:38 2015 +0000
Revision:
0:2d6b43fc4625
Child:
1:e3a5388e46ab
blank

Who changed what in which revision?

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