I'm using an Arduino Pro Micro. When it's powered only via the USB, the RAW pin has ~4.5V on it. I have it designed so that it has the potential for 9V into the RAW, but in the scenario where the user only supplies the voltage via USB, I do not want any of my other devices to get any power.
Can I use a diode or anything to prevent 4.5V from coming "out" the RAW/VIN pin?