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:
- 80:4e5d306d695b
- Parent:
- 79:3688c3a0d7f4
- Child:
- 82:0981b9ada820
--- a/System/StaticDefs.cpp Tue Oct 23 20:35:16 2018 +0000
+++ b/System/StaticDefs.cpp Wed Oct 24 16:07:10 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,10 +29,10 @@
return local;
}
-SDFileSystem & sd_card() {
- static SDFileSystem sd_card(p11, p12, p13, p14, "sd"); //SDFileSystem sd_card(MOSI, MISO, SCK, CS, "sd");
- return sd_card;
-}
+//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);