First test on using mbed library with lpc1114 xpresso board.

Dependencies:   mbed

Committer:
sdizdarevic
Date:
Thu Oct 31 18:48:11 2013 +0000
Revision:
0:15ea674d67d9
First test

Who changed what in which revision?

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