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.
Revision 1:5614b8b6163f, committed 2020-11-27
- Comitter:
- stonegarden
- Date:
- Fri Nov 27 02:16:12 2020 +0000
- Parent:
- 0:879aa9d0247b
- Commit message:
- UART
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Feb 12 17:39:05 2013 +0000
+++ b/main.cpp Fri Nov 27 02:16:12 2020 +0000
@@ -1,10 +1,16 @@
#include "mbed.h"
-
-Serial pc(USBTX, USBRX); // tx, rx
-
-int main() {
- pc.printf("Hello World!\n");
- while(1) {
- pc.putc(pc.getc() + 1);
- }
-}
\ No newline at end of file
+
+Serial pc(PD_5, PD_6,9600);
+
+
+
+int main()
+{
+ pc.printf("Nucleo_Test_UART_NBIoT\r\n");
+
+ while(1)
+ {
+ pc.printf("Nucleo_Test_UART_NBIoT\r\n");
+
+ }
+}
--- a/mbed.bld Tue Feb 12 17:39:05 2013 +0000 +++ b/mbed.bld Fri Nov 27 02:16:12 2020 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/0954ebd79f59 \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file