The sensor is the cheapest you can find so actually the temperature changes pretty easily which makes the display to show always different temperatures. But the idea is to apply this code to other projects with
The Arduino sketch for this tutorial is very simple. You begin a serial communication in thesetup()function at a baud rate of 9600. Then in theloop()function it prints “HI!” continuously every 1 second (that message will be received by your ESP later). Copy the sketch below to your ...