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:
- 57:ce80fbd67161
- Parent:
- 56:6af8f2c9ddbe
- Child:
- 58:4cdc85ed04a9
--- a/Communication/Xbee.h Sun Apr 12 02:06:58 2015 +0000 +++ b/Communication/Xbee.h Sun Apr 12 03:02:21 2015 +0000 @@ -9,20 +9,17 @@ Xbee(short panId, PinName pinTx, PinName pinRx); ~Xbee(); - Mail<Fixe_Vers_Mobile, 8> mailbox_TypeDeJeu; - void Recevoir(); void GetData(); //remplace recevoir(); void OutputData(); void ReceivePacket(data* trame); void EnvoyerStructure(Mobile_Vers_Fixe mvf); + Mail<Fixe_Vers_Mobile,100> fvm_mailbox; private: Serial* XbeePin; short PanId; char HexToAscii[16]; Mail<data,100> mailbox; - Mail<Mobile_Vers_Fixe,100> mvf_mailbox; - int frameID; void SendData(char data[], int messageSize); void SendXBee(char array[], int size);