Hi, I'm going to be using the GPIO pin of my raspberry pi with either a BJT or MOSFET transistor to control a critical circuit. However, I'm worried that if the raspberry pi freezes or crashes it might affect the external circuit. In this case, will the GPIO pin remain at it's previous value, return to being ground or something in between (hopefully not the last one)?
Thanks.