mcopy/ino/lib/mcopy_serial/mcopy_serial.cpp

20 lines
282 B
C++
Raw Normal View History

2023-03-04 23:52:51 +00:00
#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);
}
}