Two-dimension stepper control with potentiometers

Take a deep breath, edit your post, delete all the code blocks, and re-post them with [code tags] around the code.

It will format better, and we’re more likely to read it.

Welcome to the forum.