Internet of Things

Hello friends, I hope you are well.
I am a beginner in programming with arduino ide language,
I connected a heltec card with four sensors (MQ-7, MQ-2, floor sensor and temperature sensor and humidity), but I need someone to help me write the arduino code.

MQ-7 and MQ-2 are analog data output sensor, you can refer to those samples:

I know for sure pins 32, 36, 38, 39 all support Analog to Digital Conversion.
#include “Wire.h”
#include “Heltec.h”

#define adcMQ7 32

void setup() {
pinMode(adcMQ7, INPUT);

//other code
void loop() {
float a;
a = analogRead(adcMQ7);
//however you want to output to serial or oled display