Server Room Monitor
You've been handed a prototype PCB for a server room environmental monitor. The hardware engineer left you the schematic and went on vacation.
Your firmware should:
- Read the current room temperature from the on-board sensor
- Report it over the debug serial port
The temperature sensor is a TMP102 on the I2C1 bus at 7-bit address 0x48 (its A0 pin is strapped to GND). The sensor itself is not drawn on the schematic, so don't go looking for it there; the I2C1 net labels are, and they lead to the MCU pins it uses. The board also carries a second I2C bus (I2C3) that is not used for this task.
Nothing is pre-configured for you. Study the schematic in the left panel and trace the nets to figure out which pins, clocks, and alternate functions to use, including which USART drives the debug serial port.
Output format: print the temperature the sensor reports as a decimal number followed by a newline.