internal pull up resistor?

I am not sure what Brian was thinking but that is not the way to turn on pull-ups using the standard Arduino software.

The purpose of pinMode is to set a pin to input or output mode, not to turn on or off pull-ups.

Brian, did you actually try that code?