so i've got a code from an article and trying to work through it, it's about implementation of iot in raspberry pi.
there are 4 elements in this project(2leds, 1 sensor & 1 motor as fan) .so i found out in the lines 42-47 that the pins 17,22,27 are used for the three elements but i can't figure out which pin is for sensor ? (the author says the lines 90&91 display sensor readings)
here is the code : https://gist.github.com/mhvn092/8c2fcb391d9afeb09dcc8d3363450fc0
What I have tried:
i asked the question somewhere else too, but people say that in line 73 There is a program that is running the sensor but that is the driver of sensor.