How to create a program that controls the speed of a servo using a potentiometer using arduino?

yeah, that's what I always get :frowning: I can't find something related to controlling of speed