Sleepy Sensor
A colleague wrote firmware to read temperature from an I2C sensor at address 0x48. The code compiles and the I2C bus looks active, but the sensor always returns stale data.
The sensor exposes a DATA register and a CONFIG register. The starter code already performs both operations (a config write and a data read) with the correct register addresses and config value, yet the sensor still reads back as zero.
The sensor starts in shutdown mode and returns stale data until it has been properly configured. Find the bug and fix it so the sensor reports the live temperature instead of zero.