Planning to use a pot as a variable resistor on Arduino

If you want to learn anything, you best first learn that you should buy a set of resistors. A lifetime supply is just a few dollars.