Skip to content

Commit ae69618

Browse files
committed
FEAT added CW to stepper
1 parent 8748d40 commit ae69618

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/StepperMotor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ int StepperMotor::alignSensor() {
105105
sensor->natural_direction = Direction::CCW;
106106
} else if (mid_angle == start_angle) {
107107
if(monitor_port) monitor_port->println("MOT: Sensor failed to notice movement");
108+
} else{
109+
if(monitor_port) monitor_port->println("MOT: natural_direction==CW");
108110
}
109111

110112
// let the motor stabilize for 2 sec

0 commit comments

Comments
 (0)