description of hardware setup with pull-up resistor