OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Pull up really needed? › Reply To: Pull up really needed?
September 29, 2021 at 7:45 pm
#71304
Ray
Keymaster
You can use the internal pullup available on RPi. This is what OpenSprinkler firmware does:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/gpio.cpp#L292
it calls the system’s gpio command to enable internal pullup. This requires wiringPi to be installed.