Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "LPC.h"
00003 
00004 SerialBuffered lpc(1024, p9, p10);
00005 
00006 int main() {
00007     //RESET CHIP TO LOAD TO BEFORE RUNNING PROGRAM!!!
00008     lpc.InitUART(115200);                   //Specified limit of 230400 baud
00009     lpc.ProgramFile();
00010 }
00011 //To add new chips to load to, add a case to the switch function in ID.cpp, using the ID code and last sector number information