Drive FET/transistor based on 2 different resistances
I think this is what you need. When R4 is 4.7K, FAULT will be low. When R4 is 9.4K, FAULT will be high. You can swich the logic around by swapping inverting and non-inverting connections.







simulate this circuit &ndash; Schematic created using CircuitLab

Good luck.