Hello there, im new in arduino so sorry in advance.
i search to control a stepper motor with a potentiometer (that's part work nicely)
and display the potentiometer on a lcd screen ( that part work well too)
but when i combine both of my program, my motor work in spurts.
I know thats from the lcd display delay at the end but idk how to fix that
Please Help
Installation and Troubleshooting is for Problems with the Arduino itself NOT your project. It says so in the description of the section. Therefore I have moved your post here. Please be more careful where you post in future.
You have two variables where you hold the current value of a variable and the last value of the variable. You only update the display when those two variables are different.
See the state change example code from the examples menu in the IDE.