Borevković Božidar / Mbed 2 deprecated pokusaj

Dependencies:   mbed

Committer:
borel
Date:
Sat Sep 14 21:40:29 2013 +0000
Revision:
3:28301c60ffa2
Parent:
2:4f844bb143fc
Child:
4:5f8dd44deca7
promjena

Who changed what in which revision?

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