Tipping bucket rain gauge sensor with TTGO-T-Beam


I have a project to connect the tipping bucket rain gauge sensor with TTGO-T-beam board. This board includes a microcontroller ESP32, a LoRa chip and a GPS. I want to connect a tipping bucket rain gauge sensor. But I cannot find the correct program to support it. The program uploaded on the nomarl ESP32 cannot uploaded into the TTGO board.

Do someone get the new idea or such as the github link to help me to find the program used in Arduino IDE?

Thank you