ESP32 WROOM 32D with RFM95 to GATEWAY (TTN)

Hello,
i am using a ESP32 WOOM 32D from ESPRESSIF and a RFM95 connected with wires.
I want to measure distance with a SRF-05 and send it to my gateway. Is there a sample code? a sketch?
Best regards