mcopy/ino/lib/mcopy_serial/mcopy_serial.cpp

20 lines
282 B
C++

#include "mcopy_serial.h"
void McopySerial::begin (int baudRate) {
baud = baudRate;
begin();
}
void McopySerial::begin () {
}
void McopySerial::debug (bool state) {
debugOn = state;
}
void McopySerial::log (String message) {
if (debugOn) {
Serial.println(message);
}
}