so you are saying that you do put a resistor between the pin and anything that is connecet right, like an h-bridge or another microcontroller right