Stepper motor and variables not working together

Did you Serial.print value and value1 to make sure they were what you expected?