15 lines
264 B
C++
15 lines
264 B
C++
|
#include <StreamCommunicator.h>
|
||
|
|
||
|
StreamCommunicator::StreamCommunicator(Stream &s_out) : stream(s_out)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void StreamCommunicator::sendMessage(const char message[])
|
||
|
{
|
||
|
stream.println(message);
|
||
|
}
|
||
|
|
||
|
Stream *StreamCommunicator::getStream()
|
||
|
{
|
||
|
return &stream;
|
||
|
}
|