Lcd to display pot voltage

Hello,thank you for your quick answer.What i am trying to do is to connect a photoelectric sensor(NPN - PNP outputs)Page Not Found | Pepperl+Fuchs with 12V i/o to Arduino Uno r3 but I need to reduce voltage from sensor(12V) to 0 - 5V(Analog or Digital Pin in Arduino).The final purpose is to get a counter when the sensor detect differences between High and Low.

Thanks.