#include <StreamCommunicator.h>
#include <Wire.h>

class I2CCommunicator : public StreamCommunicator
{
private:
    int slaveAddr;

public:
    I2CCommunicator(TwoWire &w_out, int slaveAddr, int timeout);
    void sendMessage(const char message[]) override;
};