blink for Kl27z dev

Dependencies:   mbed-dev

Committer:
fprado
Date:
Fri Nov 24 19:54:45 2017 +0000
Revision:
0:c9803560e217
blink for Kl27z dev

Who changed what in which revision?

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