I already know this library and I also have the calculations from it.The part that confuses me is that I get two wrong values for dig_T3 and Adc_T, the others are "fine". dig_T3 confuses me the most because dig_T2 and dig_T1 are OK. Attached is a screenshot of the debugger. By the way the measured temperature is ~23°C. And even if I could use the library I prefer to write the code I use "myself" because. 1. I am in an apprenticeship and have the time to write code myself and it also brings me more. 2. according to everyone who knows programming in my environment, I should not use anyone else's library without understanding it, which I don't do with the one you provide. 3. i also want to find my mistake so that something similar doesn't happen to me again in the future. I hope you understand and don't take this badly.
... View more
Chip: Atmega 2561 Code: C Sensor: BMP280 Communication: I2C Problem: I get wrong data from my Bmp280 sensor when I want to know the temperature. To be exact, i even have an inverted value when i make the sensor warmer the displayed temperature becomes colder. the calculation works I tested it with sample numbers. The I2C interface also works, after the id check. The only 2 things that could cause errors are the conversion to the variables or the config. I hope someone can help me with this
... View more