PNP Sensor Hookup

Just looking through some resistors I have. I think I have 2.2K resistors.

(red - red - black - brown brown)

I am going to try and hook this up as stated above