This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
old-monorepo/Devices/Console/Firmware/lib/StreamCommunicator/StreamCommunicator.cpp

15 lines
No EOL
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;
}