How can I detect a load is connected to a MOSFET and report that back to the MCU? So the MOSFET can be ON or OFF, but I need to know in both situations if there's something connected or not.
NOTE: if it involves an additional GPIO, then id like to add an indicator LED instead.
simulate this circuit – Schematic created using CircuitLab