8 lines
239 B
C++
8 lines
239 B
C++
|
#include <SerialCommunicator.h>
|
||
|
#include <HardwareSerial.h>
|
||
|
|
||
|
SerialCommunicator::SerialCommunicator(HardwareSerial &p_out, int baudRate, int timeout) : StreamCommunicator(p_out)
|
||
|
{
|
||
|
p_out.begin(baudRate);
|
||
|
p_out.setTimeout(timeout);
|
||
|
}
|