Help me to make Temprature & Humidity Sensor with DHT11 and Node MCU

Hey guys , I need code to make Temprature & Humidity Sensor with DHT11 and Node MCU but my teacher said :" Don’t use DHT11.h".
If you can help me , please comment code below or send for me to nguyenquochungptit@gmail.com.
Thank you so much !

OK, post your code for this project and folks here on the forum will help you debug it and get it running.