Step control with potentiometer.

Good The picture shows a diagram and this diagram must be put into practice. But doesn’t fritzing reproduce the code?