200ohms potenciometer as analog input, Arduino UNO

fungus:

fofro:
potencmt=a.analogRead(0);

What's the value returned by analogRead(0)?

0.49 is after you've done some math on it. What's the raw, unmodified value?

Which is another way of saying "post your sketch" please.

As a better electrical test, just use your multimeter to measure the wiper terminal voltage while it's wired up to the arduino and check the readings at the two ends of travel and while centered, and confirm that the meter reads 0, +5vdc, and +2.5vdc respectively.

Lefty