mcopy/ino/mcopy_cam_canon/McopySerial.h

22 lines
303 B
C++

#ifndef MCOPY_SERIAL
#define MCOPY_SERIAL
#include "Arduino.h"
class McopySerial {
private:
volatile int baud = 57600;
volatile bool debugOn = false;
public:
McopySerial();
void begin();
void setBaud(int baudRate);
void debug (bool state);
void log (String message);
};
#endif