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