Planning to use a pot as a variable resistor on Arduino

Resistors are so cheap , buy a pack of 10 off 270ohm and these will suit driving LED’s.

If you make an error with your pot and destroy your Arduino it won’t be cheap.