mcopy/ino/lib/EndstopCameraShield/EndstopCameraShield.cpp

15 lines
426 B
C++

#include "EndstopCameraShield.h"
EndstopCameraShield::EndstopCameraShield (uint32_t usPulse, uint8_t microsteps) : motorUsPulse(usPulse), motorMicrosteps(microsteps), motor(motorEnablePin, motorDirectionPin, motorPulsePin, motorUsPulse, motorMicrosteps) {
}
void EndstopCameraShield::loop () {
}
void EndstopCameraShield::setup () {
motor.setup();
pinMode(emitterOpenPin, OUTPUT);
pinMode(emitterClosePin, OUTPUT);
}