mcopy/ino/mcopy_oxberry_camera/EndstopCameraShield.cpp

15 lines
426 B
C++
Raw Normal View History

#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);
}