mamatha palle / Mbed 2 deprecated mbed_blinky

Dependencies:   mbed

Committer:
mammu
Date:
Wed Dec 02 09:30:57 2015 +0000
Revision:
0:dbd560c47083
Child:
1:7d2537254ebb
test

Who changed what in which revision?

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