Hello:
After the converted data is processed, the high-order data /10 and %10 can be directly displayed on the LCD12864, but the low-order data (that is, the decimal part) needs to be taken. Array values ??are processed.
Because you are out now and cannot access programs on your phone, you can go to my Baidu space to find the LCD program for DS18B20, which also comes with a temperature alarm. If you have any questions you don’t understand, you can discuss them together.
I hope my answer can help you.