2 logical inputs on the same circuit
If you connect a uC GPIO pin directly to ground, like you show at point "1" in your first diagram, it will not be much use for anything.

As an input, it will always read 0 because it is tied directly to ground.

As an output, you accomplish nothing if you drive the output low, and the uC could be damaged if you try to drive the output high.