Colin Stearns
/
qcControl
QC Control software
Fork of dgps by
Diff: adapt/xbee.h
- Revision:
- 12:e42985e3ea64
- Child:
- 13:a6d3cf2b018e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/adapt/xbee.h Sat Apr 05 22:27:18 2014 +0000 @@ -0,0 +1,20 @@ +#ifndef _XBEE_H_ +#define _XBEE_H_ +#include "mbed.h" + + +/// Define Pinout +#define XBEEPINTX p9 +#define XBEEPINRX p10 + +/// Define Baud +#define XBEEBAUD 57600 + +class XBEE{ +private: + static Serial* xbee; +public: + /// \brief Call this function to get a hold of the serial for USB. + static Serial& getSerial(); +}; +#endif \ No newline at end of file