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.
Dependencies: mbed MODSERIAL FATFileSystem
Diff: System/StaticDefs.cpp
- Revision:
- 74:d281aaef9766
- Parent:
- 73:f6f378311c8d
- Child:
- 76:c802e1da4179
diff -r f6f378311c8d -r d281aaef9766 System/StaticDefs.cpp
--- a/System/StaticDefs.cpp Mon Jul 30 16:48:48 2018 +0000
+++ b/System/StaticDefs.cpp Tue Aug 14 21:06:48 2018 +0000
@@ -13,17 +13,17 @@
return pulse;
}
-MODSERIAL & pc() {
- //static MODSERIAL pc(USBTX, USBRX);
- static MODSERIAL pc(p9, p10); //XBee tx, rx pins
- return pc;
+//MODSERIAL & pc() {
+// //static MODSERIAL pc(USBTX, USBRX);
+// return pc;
+//}
+
+MODSERIAL & xbee() {
+ static MODSERIAL xb(p9, p10); //XBee tx, rx pins
+ //static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins
+ return xb;
}
-//MODSERIAL & xb() {
-// static MODSERIAL xb(p9, p10); //XBee tx, rx pins
-// return xb;
-//}
-
LocalFileSystem & local() {
static LocalFileSystem local("local");
return local;