Lorawan esp32 sending basic analogue data

Hi can anyone help with a very basic example.
I’ve used the OTAA -OLED examples and they work ok, I don’t have a DHT11, just a thermistor connecting to Analogue Pin ADC1_1 (pin 37) from 3v3 then another resistor to GND
Thanks