Dependencies:   mbed

main.cpp

Committer:
daugihao
Date:
2011-09-30
Revision:
7:d0f98d61ec4c
Parent:
5:6134277e4d57

File content as of revision 7:d0f98d61ec4c:

#include "mbed.h"
#include "LPC.h"

SerialBuffered lpc(1024, p9, p10);

int main() {
    //RESET CHIP TO LOAD TO BEFORE RUNNING PROGRAM!!!
    lpc.InitUART(115200);                   //Specified limit of 230400 baud
    lpc.ProgramFile();
}
//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