Readout
Print Numbers over UART Exercise
Task
A freezer's service console shows its probe. Print the reading from the given read_temp() once, as one line in degrees with two decimals:
read_temp() console 2305 T:23.05 -50 T:-0.50
The registers and bit fields are on the Datasheet tab.
Circuit
Pass condition
Your line must match the expected one. Readings run from -40.00 to 125.00, and each test stores its own.
Notes
read_temp() returns hundredths of a degree. The given code sets up USART1. printf works but lacks floating point. Your program is built and run at -O0, then again at -O2. Both must pass.