DS18B20 having abnormal readings on STM32H7
I am using the DS18B20 temp sensor with the stm32h7 board and am just trying to get the correct temp and display it using putty, and I want to display a message saying Heat warning when the temp is above 45 degrees.
Here is my code so far: