update with altimeter, swimfile.txt endleg.txt, etc see changes_13sep.txt also reset_PI()
Dependencies: mbed MODSERIAL FATFileSystem
Diff: System/StaticDefs.cpp
- Revision:
- 11:3b241ecb75ed
- Parent:
- 10:085ab7328054
- Child:
- 13:84fcbe1dcd62
--- a/System/StaticDefs.cpp Mon Oct 23 12:50:53 2017 +0000 +++ b/System/StaticDefs.cpp Fri Oct 27 00:37:32 2017 +0000 @@ -13,11 +13,17 @@ return pulse; } -Serial & pc() { - static Serial p(USBTX, USBRX); // tx, rx - return p; +MODSERIAL & pc() { +// static MODSERIAL pc(USBTX, USBRX); //PC USB tx, rx pin + static MODSERIAL pc(p9, p10); //XBee tx, rx pins + return pc; } +//MODSERIAL & xb() { +// static MODSERIAL xb(p9, p10); //XBee tx, rx pins +// return xb; +//} + LocalFileSystem & local() { static LocalFileSystem local("local"); return local;