I have allocated four GPIO pins to encode information about my board. I will connect external pull-down resistors to some of these pins in order to drive them low (and encode value 0). Initially I planned on mounting typical 100k resistors, but I think that's too weak since the internal pull-ups are 13k (voltage divider)? So my thinking is then to instead mount 1k resistors, which should be fine, since I can just enable the internal pull-up while reading the pin and then disable it to avoid unnecessary power consumption. Is my thinking right?
Note, as I understand, I must enable the internal pull-up while reading the pin and can't leave the pin floating, otherwise I may incorrectly detect an unconnected pin as either high/low depending on noise?