I’m using the pi zero 2w GPIO pins to drive my own valve control circuitry. I want to use one of the GPIO pins for a flow sensor input. Am I correct in assuming changing #define PIN_SENSOR1 pin 14 to something else in Defines.h is all that is necessary?
#elif defined(OSPI) // for OSPi
#define OS_HW_VERSION OSPI_HW_VERSION_BASE
#define PIN_SR_LATCH 22 // shift register latch pin
#define PIN_SR_DATA 27 // shift register data pin
#define PIN_SR_DATA_ALT 21 // shift register data pin (alternative, for RPi 1 rev. 1 boards)
#define PIN_SR_CLOCK 4 // shift register clock pin
#define PIN_SR_OE 17 // shift register output enable pin
#define PIN_SENSOR1 14