OpenSprinkler › Forums › OpenSprinkler Unified Firmware › ESP32 port of 2.1.9 firmware › Reply To: ESP32 port of 2.1.9 firmware
June 15, 2023 at 2:35 pm
#76098
v1pr
Participant
What was the error, when you wanted to compile? Are these line exists in esp32.h:
#define SDA_PIN 5
#define SCL_PIN 4
?
Wire.begin should look like this: Wire.begin(SDA_PIN, SCL_PIN);
Sorry, forgot one thing. Please modify I2CRTC.cpp also! Line 46. You also have to remove the comment block signs ‘/*’ and ‘*/’ from the begining (line 32 and 37), so esp32.h gets included.
(search for SDA in the whole Opensprinkler.cpp)