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.
Fork of Repo_Noeud_Mobile by
Diff: Communication/Xbee.h
- Revision:
- 16:982409595a7a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Communication/Xbee.h Sat Mar 21 17:19:51 2015 +0000 @@ -0,0 +1,21 @@ +#include "mbed.h" +#include "rtos.h" +#include "Structure.h" + +class Xbee +{ + public : + Xbee(); + Xbee(short panId, PinName pinTx, PinName pinRx); + ~Xbee(); + + Mail<Message,32> Mailbox; + + void Envoyer(char array[], int size); + void Recevoir(); + private: + Serial* XbeePin; + short PanId; + + void SetPanId(short panId); +}; \ No newline at end of file