Potentiometer Controlled Motor with Feedback

if (Set == HIGH);

Maybe not.