I am programming temperature sensor (exactly it is DHT11) and I want to turn my arduino into sleep mode after geting the same value like previously. Long story short, I do not want to have two identical messages. I have already wtritten some testing code, but it does not work. My problem is not, that i do not know, how to turn arduino to sleep, but that I have no idea, how to work with data, which DHT11 sent to serial monitor.
Thant you so much for your answers.