Quote Originally Posted by anode505 View Post
(though not sure why you'd think its a code issue if the pot as a voltage divider worked on that pin in question)
Below is the reason. Kind of hard to answer questions with out information...
Got it sorta working. Moved to a different pin and its working well.