Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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);
}