15 lines
337 B
C++
15 lines
337 B
C++
|
#include "EndstopCameraShield.h"
|
||
|
|
||
|
EndstopCameraShield::EndstopCameraShield () : motor(motorEnablePin, motorDirectionPin, motorPulsePin, motorUsPulse, motorMicrosteps) {
|
||
|
|
||
|
}
|
||
|
|
||
|
void EndstopCameraShield::loop () {
|
||
|
|
||
|
}
|
||
|
|
||
|
void EndstopCameraShield::setup () {
|
||
|
motor.setup();
|
||
|
pinMode(emitterOpenPin, OUTPUT);
|
||
|
pinMode(emitterClosePin, OUTPUT);
|
||
|
}
|