mcopy/ino/mcopy_cam_canon/McopySerial.cpp

20 lines
281 B
C++

#include "McopySerial.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);
}
}