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/Control/Firmware/lib/StreamCommunicator/StreamCommunicator.h

14 lines
No EOL
323 B
C++

#include <Communicator.h>
#include "Stream.h"
class StreamCommunicator : public Communicator
{
protected:
Stream &stream;
public:
StreamCommunicator(Stream &s_out, __SIZE_TYPE__ bufferSize);
void sendMessage(int *values, int numberOfValues);
void sendMessage(char *message);
char *receiveMessage();
};