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:
- 27:956b605bbb81
- Parent:
- 26:88d0d94885d3
- Child:
- 28:e5cb24a764d8
--- a/main.cpp	Tue Aug 27 02:32:45 2019 +0000
+++ b/main.cpp	Tue Nov 08 03:56:48 2022 +0000
@@ -1,12 +1,11 @@
 #include "mbed.h"
 #include "HEPTA_COM.h"
 
-Serial pc(USBTX,USBRX);
+RawSerial pc(USBTX,USBRX,9600);
 HEPTA_COM com(p9,p10);
 
 int main()
 {
-    pc.baud(9600);
     com.baud(9600);
     pc.printf("Xbee Uplink Ok Mode\r\n");
     int rcmd=0,cmdflag=0;