SW-420 / MQ-2 sensors have codes?

Hi friends,

I have a thesis assignment, I have to create a single project using these sensors, but I have no knowledge. I found the scheme and a few codes, but I am having trouble merging, I would be glad if you helped how to combine it .

I need your help and information, thank you

I have a thesis assignment,

This implies a college/university level assignment, which implies that YOU are supposed to do some research, and learn how to use these devices. Having someone give you working code means you will have learned nothing, and that you will be useless as an employee, were someone unfortunate enough to hire you.