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 CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: Libs/XbeeManager/XbeeManager.h
- Revision:
- 34:18bcf276d3bf
- Parent:
- 33:6bc82b6b62e5
- Child:
- 38:8efacce315ae
--- a/Libs/XbeeManager/XbeeManager.h Tue Jan 06 20:45:26 2015 +0000 +++ b/Libs/XbeeManager/XbeeManager.h Wed Jan 07 03:25:50 2015 +0000 @@ -6,7 +6,7 @@ class XbeeManager { public: - XbeeManager(CANxbee* x1, CANxbee* x2); + XbeeManager(PinName tx1, PinName rx1, PinName tx2, PinName rx2, int baud, int txSize, int rxSize); bool send(CANMessage &msg); bool receive(CANMessage &msg); unsigned int counterX1in; @@ -16,8 +16,8 @@ private: bool alternate; - CANxbee* x1; - CANxbee* x2; + CANxbee x1; + CANxbee x2; CANMessage extra; bool extraAvail; };