I'm trying to make a device that switches something plugged into a wall outlet on and off, depending on the output of a pin. I looked at analog switches and MOSFETs and it is a bit confusing. The pin is a digital output from a microcontroller and I don't know what exactly the voltage on the high...