ss
Diff: XBEE.h
- Revision:
- 0:cc6b98856c51
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/XBEE.h Tue Apr 21 10:22:19 2015 +0000 @@ -0,0 +1,20 @@ +#ifndef XBEE_H +#define XBEE_H + +#include "mbed.h" + +class XBEE +{ +private: + PinName _tx; + PinName _rx; + PinName _reset; + Serial* _TCOMXbee; +public: + XBEE(PinName tx, PinName rx, PinName reset); + void Init(unsigned int); + void SendMSG(char*); + void RecieveMSG(char*); + void Reset(); +}; +#endif \ No newline at end of file