Autičko_RaK / Mbed 2 deprecated mbed_blinky

Dependencies:   mbed

Committer:
stancoj
Date:
Fri Feb 19 16:00:56 2016 +0000
Revision:
0:5a09f66e7d83
Sutaz NXP cup

Who changed what in which revision?

UserRevisionLine numberNew contents of line
stancoj 0:5a09f66e7d83 1 #include "mbed.h"
stancoj 0:5a09f66e7d83 2 #include "TFC.h"
stancoj 0:5a09f66e7d83 3
stancoj 0:5a09f66e7d83 4 DigitalOut myled(LED1); //farba lediek
stancoj 0:5a09f66e7d83 5
stancoj 0:5a09f66e7d83 6 int main() {
stancoj 0:5a09f66e7d83 7 while(1) {
stancoj 0:5a09f66e7d83 8 myled = 1;
stancoj 0:5a09f66e7d83 9 wait(1);
stancoj 0:5a09f66e7d83 10 myled = 0;
stancoj 0:5a09f66e7d83 11 wait(1);
stancoj 0:5a09f66e7d83 12 }
stancoj 0:5a09f66e7d83 13 }