ที่มาของวงจร INPUT_PULLUP และ INPUT_PULLDOWN โดยปกติแล้วหากเรานำ Switch, Button, I/O…
INPUT_PULLUP
INPUT_PULLDOWN