PNP Sensor Hookup

That is basically how I had hooked things up to start with. I now have a 2.2k resistor between VCC and GND.

The values in the serial monitor don't reflect what my meter is saying.

I really am a bit baffled here.