How to measure led volts whit analogread()

Pin 9 is connected to potenciometer powering (PWM) the led
Pin A0 is connected in same pot monitoring
You mean this is not corret, I read values but erroneus, I think because the map.

if not correct how can I measure it?