Would this code send -5v to the switches alternating or is there some other way to do it?