I am relatively new to using stepper motors and Arduinos so bear with me. I am trying to control two Nema 17 stepper motors with an arduino mega and a Ramps 1.4 shield, for a non 3D printing application. Will I need a stepper driver like a Pololu A4988 in order to make this work? I’m trying to run basic code to drive the motors and get error code saying " ‘Stepper’ does not name a type". What should I do about this? Do I need further software in order to use a Ramps 1.4 shield at all? Also, what is the pin naming convention for Ramps 1.4?
I’m afraid you landed in the wrong community. This one is aimed at the Particle ecosystem, and doesn’t have much to do with either Arduino nor RAMPS. You might have better luck in either of their communities than you would have here. I do know that Adafruit often has good tutorials for most components, motors included, those might help you.