Accidentally modified an autogenerated part of McopySerial. Fixed
This commit is contained in:
parent
966f67882a
commit
84fe1b71be
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "EndstopCameraShield.h"
|
||||
|
||||
EndstopCameraShield::EndstopCameraShield () : motor(motorEnablePin, motorDirectionPin, motorPulsePin, motorUsPulse, motorMicrosteps) {
|
||||
EndstopCameraShield::EndstopCameraShield (uint32_t usPulse, uint8_t microsteps) : motorUsPulse(usPulse), motorMicrosteps(microsteps), motor(motorEnablePin, motorDirectionPin, motorPulsePin, motorUsPulse, motorMicrosteps) {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -23,14 +23,14 @@ class EndstopCameraShield {
|
|||
const uint8_t motorDirectionPin = 7;
|
||||
const uint8_t motorPulsePin = 8;
|
||||
|
||||
const uint32_t motorUsPulse = 300;
|
||||
const uint8_t motorMicrosteps = 2; //half stepping
|
||||
volatile uint32_t motorUsPulse = 300;
|
||||
volatile uint8_t motorMicrosteps = 2; //half stepping
|
||||
|
||||
TB6600MotorDriver motor;
|
||||
|
||||
public:
|
||||
|
||||
EndstopCameraShield();
|
||||
EndstopCameraShield(uint32_t usPulse, uint8_t microsteps);
|
||||
|
||||
void setup();
|
||||
void loop();
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "EndstopCameraShield.h"
|
||||
|
||||
EndstopCameraShield::EndstopCameraShield () : motor(motorEnablePin, motorDirectionPin, motorPulsePin, motorUsPulse, motorMicrosteps) {
|
||||
EndstopCameraShield::EndstopCameraShield (uint32_t usPulse, uint8_t microsteps) : motorUsPulse(usPulse), motorMicrosteps(microsteps), motor(motorEnablePin, motorDirectionPin, motorPulsePin, motorUsPulse, motorMicrosteps) {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -23,14 +23,14 @@ class EndstopCameraShield {
|
|||
const uint8_t motorDirectionPin = 7;
|
||||
const uint8_t motorPulsePin = 8;
|
||||
|
||||
const uint32_t motorUsPulse = 300;
|
||||
const uint8_t motorMicrosteps = 2; //half stepping
|
||||
volatile uint32_t motorUsPulse = 300;
|
||||
volatile uint8_t motorMicrosteps = 2; //half stepping
|
||||
|
||||
TB6600MotorDriver motor;
|
||||
|
||||
public:
|
||||
|
||||
EndstopCameraShield();
|
||||
EndstopCameraShield(uint32_t usPulse, uint8_t microsteps);
|
||||
|
||||
void setup();
|
||||
void loop();
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "EndstopCameraShield.h"
|
||||
|
||||
EndstopCameraShield::EndstopCameraShield () : motor(motorEnablePin, motorDirectionPin, motorPulsePin, motorUsPulse, motorMicrosteps) {
|
||||
EndstopCameraShield::EndstopCameraShield (uint32_t usPulse, uint8_t microsteps) : motorUsPulse(usPulse), motorMicrosteps(microsteps), motor(motorEnablePin, motorDirectionPin, motorPulsePin, motorUsPulse, motorMicrosteps) {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -23,14 +23,14 @@ class EndstopCameraShield {
|
|||
const uint8_t motorDirectionPin = 7;
|
||||
const uint8_t motorPulsePin = 8;
|
||||
|
||||
const uint32_t motorUsPulse = 300;
|
||||
const uint8_t motorMicrosteps = 2; //half stepping
|
||||
volatile uint32_t motorUsPulse = 300;
|
||||
volatile uint8_t motorMicrosteps = 2; //half stepping
|
||||
|
||||
TB6600MotorDriver motor;
|
||||
|
||||
public:
|
||||
|
||||
EndstopCameraShield();
|
||||
EndstopCameraShield(uint32_t usPulse, uint8_t microsteps);
|
||||
|
||||
void setup();
|
||||
void loop();
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#include "EndstopCameraShield.h"
|
||||
#include "McopySerial.h"
|
||||
|
||||
EndstopCameraShield cam();
|
||||
const uint32_t usPulse = 300;
|
||||
const uint8_t microsteps = 2;
|
||||
|
||||
EndstopCameraShield cam(usPulse, microsteps);
|
||||
|
||||
void setup () {
|
||||
cam.setup();
|
||||
|
|
|
@ -76,27 +76,6 @@ class McopySerial {
|
|||
const char TAKEUP_FORWARD = 'D';
|
||||
/* END CMD FLAGS */
|
||||
|
||||
/* IDENTIFIERS FLAGS */
|
||||
const char MCOPY_IDENTIFIER = 'm';
|
||||
const char CAMERA_IDENTIFIER = 'k';
|
||||
const char PROJECTOR_IDENTIFIER = 'j';
|
||||
const char PROJECTOR_CAMERA_IDENTIFIER = 's';
|
||||
const char CAMERA_PROJECTORS_IDENTIFIER = '5';
|
||||
const char CAMERA_CAPPER_IDENTIFIER = '8';
|
||||
const char CAMERA_CAPPER_PROJECTOR_IDENTIFIER = '9';
|
||||
const char CAMERA_CAPPER_PROJECTORS_IDENTIFIER = '0';
|
||||
const char PROJECTOR_LIGHT_IDENTIFIER = 'q';
|
||||
const char PROJECTORS_IDENTIFIER = 'd';
|
||||
const char PROJECTOR_SECOND_IDENTIFIER = 't';
|
||||
const char PROJECTOR_CAMERA_LIGHT_IDENTIFIER = 'r';
|
||||
const char CAMERA_SECOND_IDENTIFIER = 'y';
|
||||
const char CAMERAS_IDENTIFIER = 'a';
|
||||
const char CAMERAS_PROJECTOR_IDENTIFIER = '6';
|
||||
const char CAMERAS_PROJECTORS_IDENTIFIER = '7';
|
||||
const char CAPPER_IDENTIFIER = 'C';
|
||||
const char LIGHT_IDENTIFIER = 'o';
|
||||
/* END IDENTIFIERS FLAGS */
|
||||
|
||||
McopySerial();
|
||||
|
||||
void begin(char identity);
|
||||
|
|
Loading…
Reference in New Issue