https://www.aparat.com/v/pmjMJ
PULL UP and PULL DOWN resistor circuit