Confused: Need to use to Potentiometers

Please share your code so we can have a look at it.

If possible also share the schematics .