mcopy/ino/mcopy_cam_canon/McopySerial.h

22 lines
303 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:
McopySerial();
2023-03-04 23:52:51 +00:00
void begin();
void setBaud(int baudRate);
2023-03-04 23:52:51 +00:00
void debug (bool state);
void log (String message);
};
#endif