mcopy/ino/mcopy_cam_canon/McopySerial.h

20 lines
284 B
C
Raw Normal View History

2023-03-04 23:52:51 +00:00
#ifndef MCOPY_SERIAL
#define MCOPY_SERIAL
#include "Arduino.h"
class McopySerial {
private:
volatile int baud = 57600;
volatile bool debugOn = false;
public:
void begin();
void begin(int baudRate);
void debug (bool state);
void log (String message);
};
#endif