.
Dependencies: mbed EthernetInterface mbed-rtos
Fork of Bootloader_K64F by
Diff: main.cpp
- Revision:
- 2:8c44f28c122c
- Parent:
- 1:782a3ddc329e
- Child:
- 4:8d109a566486
--- a/main.cpp Wed Mar 11 21:00:29 2015 +0000 +++ b/main.cpp Thu Mar 12 19:04:30 2015 +0000 @@ -1,5 +1,7 @@ #include "mbed.h" +Serial pc(USBTX, USBRX); + DigitalOut led1(LED1); extern void bootloader(void); @@ -9,6 +11,7 @@ int main() { + printf("BDH = %d, BDL = %d\r\n", UART0->BDH, UART0->BDL); bootloader(); while(1); }