ardocman:
After sketch upload or reset, and with no setup, loop statements or functions that change the state of pin-7, the pin sits at 0 volts.
Yes. All digital pins default to INPUT.
ardocman:
I used this: pinMode(7, INPUT_PULLUP);
"Used" how? Did you put it in a sketch? Where in the sketch? Did the sketch upload correctly? What else is in the sketch?
I uploaded this sketch to an Arduino UNO (same processor as the Nano) and Pin 7 reads 5.10V on my multimeter: