I have a code written in C language. I want to write a code that can get temperature and pressure data with the BMP280 sensor into this code. However, I saw that the person who originally wrote the code made his own definitions using twi.c instead of the Wire.h library.
For this reason, I tried to use the BMP280 using datasheet, but I could not succeed. Is there anyone who can help?
This is the fully code https://github.com/kghunt/NWatch