Hi Ben!
See you have done a big job, and I looked forward to test your new component. But honest, for me your program is totally out of range for me, Sorry. I cant figure out which variable I have to read out in the display, and in main, which macro have to start first. Unfortunately. It would be a pleasure to help, but not able and test, please sorry.
If you want, I will send you a BME280 as thank´s
Br Jorgen