Actuator Control via a Serial Monitor - Issue

why shouldn't it extend, the motor it turned on on PWMPinA1. the delay doesn't affect whether the motor is on or not