Introduction - If you have any usage issues, please Google them yourself
DHT11 temperature and humidity sensors and communication between the microcontroller 51. According to the communication protocol of the sensor, first by the microcontroller through the I/O port excitation signal generating initiative required, and then passes control to the sensor data line, followed by the while statement microcontroller continuously checks I/O port of the high and low, to achieve the correct understanding of the timing of, parse out the accurate transmission of data