I`m completly new with arduino, and i have a question about my Arduino Uno R3 with an CNC controller
Is there a way to control a step driver with an Arduino Uno R3 thru 2 push buttons for direction?
So if i press the first button the stepper motor goes left and when i release the button it stops and when i push the second button the motor goes right and when i release this button it stops also
And is there a way to control the speed by a potenciometer
Here is a demo that does what I think you want. This program uses the MobaTools stepper library. That library is available via the IDE library manager. How to install a library. This is written for an Uno with a CNC shield V3, DRV8825 (or A4988) stepper driver, 2 switches (wired to ground) and a pot. Change pins to suit your setup. Motor speed controlled by pot. Switches must be held down to keep a motor running.