2020-11-11, 08:35 PM
there is an internal pull-up resistor in the pi itself
The 2.4k resistor to gnd is to help protect the raspberry in case the port is mis configured to output by mistake
Are you sure it does not work? Your wiring seems correct
The 2.4k resistor to gnd is to help protect the raspberry in case the port is mis configured to output by mistake
Are you sure it does not work? Your wiring seems correct