Pull down

resistor to power, switch to ground

pull up

resistor to ground, switch to power

IMG_9889.jpeg

image.jpg

IMG_9892.jpeg

Microsecond-PWM(pulse with modulation)

IMG_9893.mov