This simple program demonstates how its possible to run mbed code on LpcXpreso 1769 board. Step 1 - import the program from the library and set mbed LPC1768 as target device; Step 2 - Build the program and export the bin file to your computer; Step 3 - Open CodeRed suite on your computer and program your lpcXpresso with the previously downloaded bin file.
main.cpp
- Committer:
- biank88
- Date:
- 2013-11-11
- Revision:
- 0:4d41a054fcc2
- Child:
- 1:69d42f6c6e3a
File content as of revision 0:4d41a054fcc2:
#include "mbed.h" // mapping to LCXpresso 1769 board led #define XLED P0_22 DigitalOut myled(XLED); int main() { while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); } }