360 degree rotation servo motor

I want to build Azipod propulsion for my final year project. The servo motor must rotate 360 degree by using potentiometer, I tried to search the code at YouTube but it didn't work.

First, find your 360 degree pot.

That's not a programming problem

I tried to search the code at YouTube but it didn't work.

Last time I looked, YouTube was working perfectly.

this is continuous rotation servo:

The POT is in the servo. They provide sample code to work with the servo using the very nice Arduino servo.h lib.

mess with the code ‘degrees’ and see what happens…

for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees

99% of hobby servos can't swing a full 360°. There is a specialized servo called a 'winch servo' that can do multiple turns: https://www.youtube.com/watch?v=OaRFgXzupFA