stepper

./opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -build-path /tmp/303995892/build -hardware opt/arduino-builder/hardware -hardware ./opt/cores -tools opt/arduino-builder/tools -tools ./opt/tools -built-in-libraries opt/libraries/latest -libraries /tmp/303995892/pinned -libraries /tmp/303995892/custom -fqbn arduino:avr:mega:cpu=atmega2560 -build-cache /tmp -logger humantags -verbose=false /tmp/303995892/sketch_nov17o

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino: In function 'void setupe()':

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:5:3: error: 'serial' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:8:11: error: 'stepPin' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:9:11: error: 'dirPin' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:11:27: error: 'digitalwrite' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino: In function 'void loop()':

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:19:3: error: 'serial' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:20:18: error: 'serialprintIn' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:23:18: error: 'stepPin' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:23:30: error: 'digitalwrite' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:24:24: error: 'delaymicroseconds' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:25:27: error: expected unqualified-id before numeric constant

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:29:18: error: 'dirPin' was not declared in this scope

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino: At global scope:

/tmp/303995892/sketch_nov17o/sketch_nov17o.ino:45:1: error: expected declaration before '}' token

exit status 1

Is there a question?

Those errors all seem to be bad code related.

Where is the sketch for accompany your issue ? (use code tags to post the sketch ( </> )