Hello. I'm trying to build a 3D printer from used printers and scanners. I have the Arduino Mega 2560, RAMPS 1.4 and the A4988 driver combo as the electronic part. I’m trying to test out the motors to see if they work but I don’t know what code to upload to the Arduino board to do that. Can anyone help me with a simple code that turns the motor in a direction a number of steps, and then in the other direction.
↧