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:
- 79:3688c3a0d7f4
- Parent:
- 77:60034ab20cf9
- Child:
- 80:4e5d306d695b
--- a/System/StaticDefs.cpp Fri Aug 17 16:52:00 2018 +0000
+++ b/System/StaticDefs.cpp Tue Oct 23 20:35:16 2018 +0000
@@ -19,8 +19,8 @@
//}
MODSERIAL & xbee() {
- static MODSERIAL xb(p9, p10); //XBee tx, rx pins
- //static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins
+ //static MODSERIAL xb(p9, p10); //XBee tx, rx pins
+ static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins
return xb;
}
@@ -29,12 +29,10 @@
return local;
}
-/*************************************************************** Conflict with IMU
SDFileSystem & sd_card() {
static SDFileSystem sd_card(p11, p12, p13, p14, "sd"); //SDFileSystem sd_card(MOSI, MISO, SCK, CS, "sd");
return sd_card;
}
-*/
SpiADC & adc() {
static SpiADC adc(p5,p6,p7,p8,LED2);