How to switch between DC input and DC output? Follow