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.
mbed_source/XbeeTransmitter.cpp
- Committer:
- GaiSensei
- Date:
- 2017-03-30
- Revision:
- 16:f4df01448b59
- Parent:
- source/XbeeTransmitter.cpp@ 14:cc65f603e659
File content as of revision 16:f4df01448b59:
#include "RealXbeeTransmitter.hpp"
RealXbeeTransmitter::RealXbeeTransmitter()
{
}
void RealXbeeTransmitter::transmit(const std::vector<uint8_t>& bytes)
{
char message[message_size];
for(int i=0; i<message_size; i++)
{
message[i] = bytes.at(i);
}
send_message_via_xbee(message, message_size);
}