First test on using mbed library with naked LPC1114 chip on breadboard. Blink LED pin 28, append UART test, procedure putc(), puts(), PWM beep 1kHz on pin 1.

Dependencies:   mbed

Fork of lpc1114test by Saudin Dizdarevic

main.cpp

Committer:
sdizdarevic
Date:
2013-10-31
Revision:
0:15ea674d67d9
Child:
1:8aecb799ae5e

File content as of revision 0:15ea674d67d9:

#include "mbed.h"

DigitalOut myled(dp28);

int main() {
    while(1) {
        myled = 1;
        wait(1);
        myled = 0;
        wait(1);
    }
}