Vs || resistor || GND ---- switch ---- output