OpenSprinkler › Forums › OpenSprinkler Unified Firmware › ESP32 port of 2.1.9 firmware › Reply To: ESP32 port of 2.1.9 firmware
June 3, 2024 at 1:30 pm
#79072
v1pr
Participant
Hi @romantao,
thanks for the details, but I don’t think you’re right. In the ESP32 var definitions in OpenSprinkler.cpp PIN_SENSOR2 gets a value, so the define should be “active”
`
PIN_RFRX = E0_PIN_RFRX;
PIN_RFTX = E0_PIN_RFTX;
PIN_BOOST = E0_PIN_BOOST;
PIN_BOOST_EN = E0_PIN_BOOST_EN;
PIN_SENSOR1 = E0_PIN_SENSOR1;
PIN_SENSOR2 = E0_PIN_SENSOR2;
`