I'm new to electronics and I'm trying to understand pull-up resistors properly. I have a problem with the following schematic:
I've redrawn the schematic into my following schematic for better understanding:
In the redrawn schematic, R1 represents pull-up resistor.
If we connect the circuits using the button, according to explanations I've read, the current should flow not to the MCU, but to straightly to the ground, because on that branch there is lesser resistance. Based on conservation of charge, the current that goes in the branches, must come out of the branches, so I = I1 + I2. From that we can deduce I = U (1 / R2 + 1 / R3). However, branch leading straightly to the ground has (imo) approximately 0 ohms resistance, because there is no resistor, so I goes to infinity = short-circuit.
How is possible there is no short-circuit? Is my redrawn schematic identical to the original one? Also based on my knowledge of physics, even if we press the button and connect the circuit, there should be identical voltage on both branches in this parallel circuit. How is it possible that we can read 0 on the pin? Do we actually measure current instead of the voltage?

