...
But how does this work if the GPIO is connected to both gates?
By biasing the gates correctly - in experimentation I would not be surprised to find that I can never quite keep M3 off while trying to turn M1 all the way on but trying would be fun and perhaps just one more resistor in a surprise location would do it.
My lunch break ends in 3 minutes, I try to make some sense of it with text...
Code:
MCU_PIN------
|
(10K)
|
------- Gate_M1
|
(10K)
|
------- Gate_M3
|
(10K)
|
GND