Adafruit BMP280 i2c readout in OPENMV using available libraries

Hi There,

Recently in order to read data from the Adafruit BMP280 sensor with i2c communication, I used the provided Adafruit_BMP280.h library and uploaded their Arduino code to ESP32 which worked;
Sensor Library:

Sample Code;

Now I need to do some image processing too, so was thinking to use OPENMV instead; printing temperature data in the OpenMV Serial terminal.

Any recommendation on how to import .h sensor files in OPENMV and access it in OPENMV IDE?
As you know, in Arduino we just say #include <Adafruit_BMP280.h>
Also, I know how to import modules in Python; for example import time, …
But not sure how to import .h files in the OpenMV python environment!


You have to rewrite the code in Python. We are not a C platform unless you edit the firmware.